Expand description
Archive creation: classify the project, then write pack.toml followed by
the payload into a zstd-compressed tar stream.
The .git directory is copied wholesale rather than converted to a
git bundle. A bundle is built from an explicit set of refs, so everything
outside that set — stashes, the reflog, dangling objects a rebase left
behind — silently does not make the trip. Copying the directory removes the
question entirely: whatever git had, the pack has.
Structs§
- Create
Options - Inputs for
create. - Create
Report - What
createproduced.
Constants§
- DEFAULT_
COMPRESSION_ LEVEL - Default zstd compression level.
- PAYLOAD_
PREFIX - Directory prefix under which payload entries are stored inside the archive.
Functions§
- create
- Pack a project root into a single archive.