Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleFile ¶
func SetArchiveMaxDepth ¶ added in v3.27.0
func SetArchiveMaxDepth(depth int)
SetArchiveMaxDepth sets the maximum depth of the archive.
func SetArchiveMaxSize ¶ added in v3.27.0
func SetArchiveMaxSize(size int)
SetArchiveMaxSize sets the maximum size of the archive.
func SetArchiveMaxTimeout ¶ added in v3.27.0
SetArchiveMaxTimeout sets the maximum timeout for the archive handler.
Types ¶
type Archive ¶
type Archive struct {
// contains filtered or unexported fields
}
Archive is a handler for extracting and decompressing archives.
func (*Archive) IsFiletype ¶
IsFiletype returns true if the provided reader is an archive.
Click to show internal directories.
Click to hide internal directories.