Skip to main content

Module repo

Module repo 

Expand description

VCS-reading abstraction. The default impl is gix; a GitCliRepo differential-test oracle cross-checks it.

Re-exports§

pub use types::TagInfo;
pub use types::WorktreeChange;
pub use types::WorktreeChangeKind;
pub use gix_repo::GixRepo;
pub use git_cli_repo::GitCliRepo;

Modules§

git_cli_repo
Shell-out impl of the Repo trait — treats C git as ground truth. Used in the differential-testing harness to validate that GixRepo’s gitoxide-based reads produce the same output as canonical C git.
gix_repo
gix-backed Repo impl. The production default.
types
Repo-layer value types shared across both GixRepo and GitCliRepo backends and exposed through the Repo trait.

Traits§

BlobReader
Reads many blobs at one revision without re-resolving rev→commit→ root-tree per call. The HEAD-time scans build one per rayon worker via map_init; it holds thread-local state, is NOT Send, and must stay on its worker thread.
Repo
Read-only git operations needed by the codelore pipeline. See spec §3.3.