Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirSummary ¶
type DirSummary struct { BaseDir string FlattenedFileSummaries []*FileSummary }
DirSummary holds the summary used for synchronizing across
func NewDirSummary ¶ added in v0.0.9
func NewDirSummary(baseDir string, flattenedFileSummaries []*FileSummary) *DirSummary
NewDirSummary will create a new instance of DirSummary
type FileSummary ¶
type FileSummary struct { RelativePath string ModTime time.Time Checksum *checksums.ChecksumResult }
FileSummary holds the info for a single file
func NewFileSummary ¶
func NewFileSummary(relativePath string, modTime time.Time, checksum *checksums.ChecksumResult) *FileSummary
NewFileSummary will create a new instance of FileSummary
func (*FileSummary) HaveSamePath ¶
func (f *FileSummary) HaveSamePath(other *FileSummary) bool
HaveSamePath compares it to the path of another
Click to show internal directories.
Click to hide internal directories.