Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
Types ¶
type ConvertArcFlags ¶
type ConvertArcFlags struct { FileWalkerFlags flag.FileWalkerFlags IndexFlags flag.IndexFlags WarcWriterConfigFlags flag.WarcWriterConfigFlags WarcRecordOptionFlags flag.WarcRecordOptionFlags OutputHookFlags flag.OutputHookFlags InputHookFlags flag.InputHookFlags UtilFlags flag.UtilFlags ConcurrencyFlags flag.ConcurrencyFlags }
func (ConvertArcFlags) AddFlags ¶
func (f ConvertArcFlags) AddFlags(cmd *cobra.Command)
func (ConvertArcFlags) ToConvertArcOptions ¶
func (f ConvertArcFlags) ToConvertArcOptions() (*ConvertArcOptions, error)
type ConvertArcOptions ¶
type ConvertArcOptions struct { Paths []string Concurrency int MinWARCDiskFree int64 WarcWriterConfig *warcwriterconfig.WarcWriterConfig WarcRecordOptions []gowarc.WarcRecordOption FileWalker *filewalker.FileWalker FileIndex *index.FileIndex OpenInputFileHook hooks.OpenInputFileHook CloseInputFileHook hooks.CloseInputFileHook }
func (*ConvertArcOptions) Complete ¶
func (o *ConvertArcOptions) Complete(cmd *cobra.Command, args []string) error
func (*ConvertArcOptions) Run ¶
func (o *ConvertArcOptions) Run() error
func (*ConvertArcOptions) Validate ¶
func (o *ConvertArcOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.