Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArchiveFormat ¶
type ArchiveFormat int
const ( A_UNKNOWN ArchiveFormat = iota A_TAR A_TXZ A_TGZ A_TBZ A_ZIP )
Supported archive formats.
func MatchFormat ¶
func MatchFormat(name string) ArchiveFormat
MatchFormat returns the archive format from a file name or path based on it's extension.
Click to show internal directories.
Click to hide internal directories.