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