Skip to main content

Module fs

Module fs 

Source
Expand description

Filesystem-based object store.

Structs§

FsStore
Filesystem-based storage for Heddle objects.

Enums§

LooseObjectWriteMode

Functions§

read_file_bytes_for_pack
Read a pack file as zero-copy Bytes. For packs that clear the mmap threshold, the underlying memory is the mmap’d region — every Bytes::slice into it is a zero-copy view. Smaller packs fall back to a heap read wrapped in Bytes. Public because the pack reader lives in a sibling module and needs to bypass the pub(super) gate on read_file_bytes.