Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ArchiveMap = map[string]bool{ ".apk": true, ".bz2": true, ".bzip2": true, ".deb": true, ".gem": true, ".gz": true, ".jar": true, ".rpm": true, ".tar": true, ".tar.gz": true, ".tar.xz": true, ".tgz": true, ".whl": true, ".xz": true, ".zip": true, }
Supported archive extensions.
Functions ¶
func GetExt ¶ added in v1.7.1
getExt returns the extension of a file path and attempts to avoid including fragments of filenames with other dots before the extension.
func IsSupportedArchive ¶ added in v1.7.1
IsSupportedArchive returns whether a path can be processed by our archive extractor.
Types ¶
Click to show internal directories.
Click to hide internal directories.