Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ungzip ¶
Ungzip extracts a .tar.gz archive from the provided reader to the specified destination directory.
func Unsupported ¶
Unsupported is a placeholder function for unsupported archive formats. It returns an error indicating that the archive format is not supported.
Types ¶
type ExtractFunc ¶
ExtractFunc is a function type that defines the signature for extraction functions. For different archive formats, we can implement this interface to provide a unified extraction mechanism. The following functions implement the ExtractFunc interface for .zip and .tar.gz formats, respectively.
Click to show internal directories.
Click to hide internal directories.