# Functions
NewConfig is a generator option that takes opts as adjustments of the default configuration in an option pattern style.
NoopTelemetryHook is a no operation telemetry hook.
WithCacheInMemory options pattern function to enable/disable caching in memory.
WithContinueOnError options pattern function to continue on error during extraction.
WithContinueOnUnsupportedFiles options pattern function to enable/disable skipping unsupported files.
WithCreateDestination options pattern function to create destination directory if it does not exist.
WithCustomCreateDirMode options pattern function to set the file mode for created directories, that are not defined in the archive.
WithCustomDecompressFileMode options pattern function to set the file mode for a decompressed file.
WithDenySymlinkExtraction options pattern function to deny symlink extraction.
WithExtractType options pattern function to set the extraction type in the config.
WithFollowSymlinks options pattern function to follow symlinks to directories during extraction.
WithLogger options pattern function to set a custom logger.
WithMaxExtractionSize options pattern function to set WithMaxExtractionSize in the config (-1 to disable check).
WithMaxFiles options pattern function to set maxFiles in the config (-1 to disable check).
WithMaxInputSize options pattern function to set MaxInputSize in the config (-1 to disable check).
WithNoUntarAfterDecompression options pattern function to enable/disable combined tar.gz extraction.
WithOverwrite options pattern function to set overwrite in the config.
WithPatterns options pattern function to set filepath pattern.
WithTelemetryHook options pattern function to set a telemetry hook.
# Interfaces
Logger is an interface that defines the logging functions that are used by the extractor.
# Type aliases
ConfigOption is a function pointer to implement the option pattern.