Crate bale

Crate bale 

Source
Expand description

Bale archive format library.

A mmap-first, zero-copy zip-compatible archive format with fixed-stride entries for efficient random access.

§Features

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.
ArchivePath
A path within a bale archive, either borrowed or owned.
CentralDirectoryHeader
Central Directory File Header (46 bytes fixed, followed by filename).
CompactStats
Statistics from a compact operation.
DirEntry
A directory entry in the archive.
DosDateTime
MS-DOS date/time format used in ZIP archives.
FileEntry
A file entry in the archive.
LocalFileHeader
Local File Header (30 bytes fixed, followed by filename).
MappedArchive
A read-only memory-mapped archive file.
MappedArchiveMut
A read-write memory-mapped archive file.
RenameStats
Statistics from a rename duplicates operation.
SymlinkEntry
A symbolic link entry in the archive.

Enums§

BaleError
Errors that can occur when working with bale archives.
Entry
An entry in the archive of any type.
EntryKind
Entry type based on Unix mode bits in external_attrs.

Traits§

ArchiveRead
Read operations for archives.
ArchiveWrite
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§

ArchiveReader
Read-only archive type alias.
ArchiveWriter
Read-write archive type alias.