cmd

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnnotateArchive

func AnnotateArchive(localPath string, archivePath string) (err error)

AnnotateArchive creates or updates any remote annotation originating from a file at localPath which is archived at archivePath.

func CountFilesWithoutChecksum

func CountFilesWithoutChecksum(root string, exclude []string) (uint64, error)

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

func CreateArchive(root string, archiveRoot string, params archiveParams) error

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.

func Execute

func Execute()

Types

This section is empty.

Jump to

Keyboard shortcuts

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