Versions in this module Expand all Collapse all v0 v0.3.0 Aug 11, 2026 v0.2.0 Jul 16, 2026 Changes in this version + func CreateDeterministicArchive(archivePath, sourceDir string, comp Compression) (err error) + func Extract(archivePath, destDir string, comp Compression, opts ...ExtractOption) (err error) + func ExtractAuto(archivePath, destDir string, opts ...ExtractOption) error + func IsArchiveName(filename string) bool + type Compression int + const CompressionGzip + const CompressionNone + const CompressionXZ + const CompressionZstd + func DetectCompression(filename string) (Compression, error) + func SniffCompressionFromFile(archivePath string, fallback Compression) (comp Compression, err error) + type ExtractOption func(*extractConfig) + func WithErrorOnUnsupportedEntry() ExtractOption