Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFormat = errors.New("archive: unknown format")
ErrFormat is the error returned when archive is asked to get the files from an unkown archive format.
Functions ¶
func RegisterFormat ¶
RegisterFormat registers an archive format by mapping its name to a read function and a function that checks if a file is of a specific archive type. It is typically called from an init function in the archive package registering itself.
Types ¶
Click to show internal directories.
Click to hide internal directories.