Documentation ¶
Index ¶
- func AnnotateArchive(localPath string, archivePath string) (err error)
- func CountFilesWithoutChecksum(root string, exclude []string) (uint64, error)
- func CreateArchive(root string, archiveRoot string, params archiveParams) error
- func CreateChecksumFiles(root string, exclude []string, interval time.Duration, maxProc int, ...) error
- func Execute()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnotateArchive ¶
AnnotateArchive creates or updates any remote annotation originating from a file at localPath which is archived at archivePath.
func CountFilesWithoutChecksum ¶
CountFilesWithoutChecksum searches for files recursively under root (subject to any exclusions patterns in exclude) and counts those that do not have an up-to-date checksum file.
func CreateArchive ¶
CreateArchive archives files found locally under root to remote archiveRoot, preserving the relative directory hierarchy.
func CreateChecksumFiles ¶
func CreateChecksumFiles(root string, exclude []string, interval time.Duration, maxProc int, dryRun bool) error
CreateChecksumFiles searches for files recursively under root (subject to any exclusions patterns in exclude) and creates checksum files for any that do not have one.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.