Expand description
The implementation of creating an archive from a git tree, similar to git archive
, but using an internal format.
This crate can effectively be used to manipulate worktrees as streams of bytes, which can be decoded using the Stream
type.
Modules§
Structs§
- An entry that is added to the stream by the user, verbatim, without additional worktree conversions.
- An entry in a stream. Note that they must be consumed fully, by reading from them till exhaustion.
- A stream of entries that originate from a git tree and optionally from additional entries.
Functions§
- Use
objects
to traversetree
and fetch the contained blobs to return asStream
, which makes them queryable on demand with support for streaming each entry.