Documentation
¶
Index ¶
- type Directory
- type FileSums
- type Stats
- func (self *Stats) DirCount() int
- func (self *Stats) Directories() int
- func (self *Stats) Failed() int
- func (self *Stats) FailedFiles() []*string
- func (self *Stats) IncrDirectories()
- func (self *Stats) IncrFailed(f *string)
- func (self *Stats) IncrNew(f *string)
- func (self *Stats) IncrUpdated(f *string)
- func (self *Stats) IncrVerified()
- func (self *Stats) IsCompleted() bool
- func (self *Stats) New() int
- func (self *Stats) NewFiles() []*string
- func (self *Stats) SetDirCount(c int)
- func (self *Stats) ShowProgress()
- func (self *Stats) StopProgress()
- func (self *Stats) Updated() int
- func (self *Stats) UpdatedFiles() []*string
- func (self *Stats) Verified() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directory ¶
type Directory struct { Created int64 `json:"created"` Updated int64 `json:"updated"` Files map[string]string `json:"files"` // contains filtered or unexported fields }
func NewDirectory ¶
type FileSums ¶
type FileSums struct { Directories map[string]*Directory Root string Workers int Quiet bool Progress bool Stats *Stats }
func NewFileSums ¶
type Stats ¶
func (*Stats) Directories ¶
func (*Stats) FailedFiles ¶
func (*Stats) IncrDirectories ¶
func (self *Stats) IncrDirectories()
func (*Stats) IncrFailed ¶
func (*Stats) IncrUpdated ¶
func (*Stats) IncrVerified ¶
func (self *Stats) IncrVerified()
func (*Stats) IsCompleted ¶
func (*Stats) SetDirCount ¶
func (*Stats) ShowProgress ¶
func (self *Stats) ShowProgress()
func (*Stats) StopProgress ¶
func (self *Stats) StopProgress()
func (*Stats) UpdatedFiles ¶
Click to show internal directories.
Click to hide internal directories.