Documentation ¶ Index ¶ func Archive(rel, target string) (string, error) func SumFile(fn, fileType string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Archive ¶ func Archive(rel, target string) (string, error) Archive takes a source and target directory and returns a filename and/or error. The source will be archived relative to the target. The file will live in the user's os.TempDir(). func SumFile ¶ func SumFile(fn, fileType string) (string, error) SumFile reads a file an returns a hex-encoded sha512/256. Types ¶ This section is empty. Source Files ¶ View all Source files tar.go Click to show internal directories. Click to hide internal directories.