Expand description
Everything that reads git, reproduces git, or talks to git.
The rule this crate lives by is that git’s behaviour is measured, never
assumed — so each of these reproduces one thing git does and is answerable to
it: attributes to git check-attr, config to the configuration
cascade, index to the index format, history to reachability, and
pktline to the long-running filter protocol. repo is where a
repository’s directories are worked out, which git does differently for a
linked worktree than for anything else.
Modules§
- attributes
- The managed section of
.gitattributes. - config
- Reading and writing git configuration through a library.
- history
- Walking every reachable commit, looking for declared paths stored in the clear.
- index
- Reading git’s index, and making git look at a file again after it was rewritten in place.
- pktline
- The pkt-line framing git’s long-running filter protocol speaks.
- repo
- Locating the repository and reading its state — without spawning
git.