Documentation ¶
Index ¶
Constants ¶
View Source
const ( CalculateHash = "calculate-hash" CalculateHashHelp = `` /* 141-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func NewCmdValidate ¶
Types ¶
type ValidateFlags ¶
type ValidateFlags struct { IndexFlags *flag.IndexFlags OutputHookFlags *flag.OutputHookFlags InputHookFlags *flag.InputHookFlags FileWalkerFlags flag.FileWalkerFlags FilterFlags flag.FilterFlags WarcRecordOptionFlags flag.WarcRecordOptionFlags ConcurrencyFlags flag.ConcurrencyFlags }
func NewValidateFlags ¶
func NewValidateFlags() ValidateFlags
func (ValidateFlags) AddFlags ¶
func (f ValidateFlags) AddFlags(cmd *cobra.Command)
func (ValidateFlags) HashFunction ¶
func (f ValidateFlags) HashFunction() string
func (ValidateFlags) OutputDir ¶
func (f ValidateFlags) OutputDir() string
func (ValidateFlags) ToOptions ¶
func (f ValidateFlags) ToOptions() (*ValidateOptions, error)
type ValidateOptions ¶
type ValidateOptions struct { FileIndex *index.FileIndex FileWalker *filewalker.FileWalker // contains filtered or unexported fields }
func (*ValidateOptions) Complete ¶
func (o *ValidateOptions) Complete(cmd *cobra.Command, args []string) error
func (*ValidateOptions) Run ¶
func (o *ValidateOptions) Run() error
func (*ValidateOptions) Validate ¶
func (o *ValidateOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.