Expand description
§Totebag
totebag is an archiving utilities that can archive and extract files supported several formats.
Modules§
- archiver
- This module provides an interface and struct for archiving the files.
The supported formats are:
cab,7z,tar,tar.gz,tar.bz2,tar.xz,tar.zst, andzip.lhaandrarformats are not supported for archiving. - extractor
- This module provides the extractor for the archive file.
The supported formats are
cab,lha,rar,7z,tar,tar.gz,tar.bz2,tar.xz,tar.zst, andzip. - format
- Archive format management module. This module detects archive formats from file.
Structs§
- Archive
Config - Configuration for creating archive files.
- Extract
Config - Configuration for extracting archive files.
- List
Config - Configuration for listing archive file contents.
Enums§
- Error
- Errors that can occur when using this library.
- Ignore
Type - Define the ignore types for directory traversing.
- Output
Format - Output format options for listing archive contents.
Functions§
- archive
- Create an archive file from the specified targets.
- entries
- Returns the entries (file list) in the given archive file.
- extract
- Extract an archive file to the specified destination directory.
- list
- Returns a formatted string representation of the entries in the given archive file.
Type Aliases§
- Result
- Define the result type for this library.