Function
newFTHybridCmd
(ctx context.Context, options *FTHybridOptions, args ...interface{})
Source from the content-addressed store, hash-verified
| 2911 | } |
| 2912 | |
| 2913 | func newFTHybridCmd(ctx context.Context, options *FTHybridOptions, args ...interface{}) *FTHybridCmd { |
| 2914 | var withCursor bool |
| 2915 | if options != nil && options.WithCursor { |
| 2916 | withCursor = true |
| 2917 | } |
| 2918 | return &FTHybridCmd{ |
| 2919 | baseCmd: baseCmd{ |
| 2920 | ctx: ctx, |
| 2921 | args: args, |
| 2922 | }, |
| 2923 | options: options, |
| 2924 | withCursor: withCursor, |
| 2925 | } |
| 2926 | } |
| 2927 | |
| 2928 | func (cmd *FTHybridCmd) String() string { |
| 2929 | return cmdString(cmd, cmd.val) |
Tested by
no test coverage detected