Expand description
Git interop for git-lfs.
Everything in this crate shells out to the git binary — see CLAUDE.md
for the rationale.
Re-exports§
pub use attr::AttrSet;pub use cat_file::BlobContent;pub use cat_file::CatFileBatch;pub use cat_file::CatFileBatchCheck;pub use cat_file::CatFileHeader;pub use config::ConfigScope;pub use diff_index::DiffEntry;pub use diff_index::diff_index;pub use endpoint::EndpointError;pub use endpoint::derive_lfs_url;pub use endpoint::endpoint_for_remote;pub use path::git_dir;pub use path::lfs_dir;pub use rev_list::RevListEntry;pub use rev_list::rev_list;pub use scanner::PointerEntry;pub use scanner::TreeBlob;pub use scanner::scan_pointers;pub use scanner::scan_tree;pub use scanner::scan_tree_blobs;
Modules§
- attr
.gitattributesparsing and matching.- cat_
file git cat-file --batch[-check]long-running subprocess wrappers.- config
- Git config get/set/unset, scoped to one of git’s config files.
- diff_
index git diff-index -zparser.- endpoint
- Resolve the LFS server endpoint for a repo.
- path
- Repository path discovery.
- pktline
- Git’s packet-line protocol — the framing used by
filter-processand a handful of other long-running git subprocess interfaces. - refs
- Refspec resolution for the LFS lock APIs.
- rev_
list git rev-list --objects --do-walk --stdinwrapper.- scanner
- Scanner: walk git history, find LFS pointer blobs.