Versions in this module Expand all Collapse all v0 v0.1.1 Apr 19, 2026 v0.1.0 Apr 19, 2026 Changes in this version + func Extract(origReader io.Reader, destFolder string, options ...Option) error + func UnzipFolder(source, destination string) error + func WriteTar(writer io.Writer, localPath string, compress bool) error + func WriteTarExclude(writer io.Writer, localPath string, compress bool, excludedPaths []string) error + type Archiver struct + func NewArchiver(basePath string, writer *tar.Writer, excludedPaths []string) *Archiver + func (a *Archiver) AddToArchive(relativePath string) error + type Option func(o *Options) + func StripLevels(levels int) Option + type Options struct + GID *int + Perm *os.FileMode + StripLevels int + UID *int