Expand description
Bale archive format library.
A mmap-first, zero-copy zip-compatible archive format with fixed-stride entries for efficient random access.
§Features
reader- EnablesArchiveReaderfor reading archiveswriter- EnablesArchiveWriterfor writing archivescompact- Enablescompactandrename_duplicatesfunctions (requiresreader+writer)bin- Enables the CLI binary (requirescompact)
Re-exports§
pub use tail::BaleEocd;pub use tail::Eocd;pub use tail::Trailer;pub use tail::Zip64Eocd;pub use tail::Zip64EocdLocator;
Modules§
- fuse
- FUSE filesystem support. FUSE filesystem support for bale archives.
- tail
- Unified archive tail (trailer) structures. Unified 256-byte archive tail (trailer) structures.
Structs§
- Archive
- A bale archive with generic memory-map backing.
- Archive
Path - A path within a bale archive, either borrowed or owned.
- Central
Directory Header - Central Directory File Header (46 bytes fixed, followed by filename).
- Compact
Stats - Statistics from a compact operation.
- DirEntry
- A directory entry in the archive.
- DosDate
Time - MS-DOS date/time format used in ZIP archives.
- File
Entry - A file entry in the archive.
- Local
File Header - Local File Header (30 bytes fixed, followed by filename).
- Mapped
Archive - A read-only memory-mapped archive file.
- Mapped
Archive Mut - A read-write memory-mapped archive file.
- Rename
Stats - Statistics from a rename duplicates operation.
- Symlink
Entry - A symbolic link entry in the archive.
Enums§
- Bale
Error - Errors that can occur when working with bale archives.
- Entry
- An entry in the archive of any type.
- Entry
Kind - Entry type based on Unix mode bits in external_attrs.
Traits§
- Archive
Read - Read operations for archives.
- Archive
Write - Write operations for archives.
Functions§
- compact
- Compacts an archive, removing orphaned data and duplicate entries.
- rename_
duplicates - Renames duplicate paths in an archive.
Type Aliases§
- Archive
Reader - Read-only archive type alias.
- Archive
Writer - Read-write archive type alias.