Documentation
¶
Overview ¶
Implements verification of seal files previously written with seal command
Index ¶
- Constants
- func SubCommands() []gcli.Command
- type VerifyCommand
- func (s *VerifyCommand) Aggregate(results <-chan godi.Result, done <-chan bool) <-chan godi.Result
- func (s *VerifyCommand) Gather(files <-chan godi.FileInfo, results chan<- godi.Result, wg *sync.WaitGroup, ...)
- func (s *VerifyCommand) Generate(done <-chan bool) (<-chan godi.FileInfo, <-chan godi.Result)
- func (s *VerifyCommand) Init(numReaders, numWriters int, items []string) error
- type VerifyResult
Constants ¶
View Source
const (
Name = "verify"
)
Variables ¶
This section is empty.
Functions ¶
func SubCommands ¶
return subcommands for our particular area of algorithms
Types ¶
type VerifyCommand ¶
type VerifyCommand struct {
// The index files we are to verify
Indices []string
// contains filtered or unexported fields
}
A type representing all arguments required to drive a Seal operation
func NewCommand ¶
func NewCommand(trees []string, nReaders int) (c VerifyCommand, err error)
NewCommand returns an initialized verify command
func (*VerifyCommand) Aggregate ¶
func (s *VerifyCommand) Aggregate(results <-chan godi.Result, done <-chan bool) <-chan godi.Result
func (*VerifyCommand) Gather ¶
func (s *VerifyCommand) Gather(files <-chan godi.FileInfo, results chan<- godi.Result, wg *sync.WaitGroup, done <-chan bool)
func (*VerifyCommand) Generate ¶
func (s *VerifyCommand) Generate(done <-chan bool) (<-chan godi.FileInfo, <-chan godi.Result)
type VerifyResult ¶
type VerifyResult struct {
*godi.BasicResult // will contain the actual file information from the disk file
// contains filtered or unexported fields
}
Implements information about a verify operation
Click to show internal directories.
Click to hide internal directories.