verify

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2014 License: LGPL-3.0 Imports: 11 Imported by: 2

Documentation

Overview

Implements verification of seal files previously written with seal command

Index

Constants

View Source
const (
	Name = "verify"
)

Variables

This section is empty.

Functions

func SubCommands

func SubCommands() []gcli.Command

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)

func (*VerifyCommand) Init

func (s *VerifyCommand) Init(numReaders, numWriters int, items []string) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL