package
0.0.0-20170218184037-e2d100bc74f5
Repository: https://github.com/pierrre/archivefile.git
Documentation: pkg.go.dev

# Functions

Archive compresses a file/directory to a writer If the path ends with a separator, then the contents of the folder at that path are at the root level of the archive, otherwise, the root of the archive contains the folder as its only item (with contents inside).
ArchiveFile compresses a file/directory to a file See Archive() doc.
Unarchive decompresses a reader to a directory The data's size is required because the zip reader needs it.
UnarchiveFile decompresses a file to a directory See Unarchive() doc.

# Type aliases

ProgressFunc is the type of the function called for each archive file.