Skip to main content

nornir_git/
lib.rs

1//! # nornir-git
2//!
3//! Pure-Rust git helpers over [`gix`] (gitoxide) — the single home for git
4//! inspection and history rewriting so a tool never shells out to the `git`
5//! binary and never links libgit2/C. The airgap-clean git leaf lifted out of
6//! nornir (it depends on nothing but `gix` + `anyhow`, so it drags no warehouse /
7//! embedder / server deps behind it).
8//!
9//! - [`gitio`] — read-side inspection + the small write helpers (`init`,
10//!   `commit_all`, tags, tree/blob walk, fetch).
11//! - [`gitclean`] — the pure-Rust analogue of
12//!   `git filter-repo --invert-paths --path <p>`: remove one or more paths (e.g.
13//!   a committed `docs/book.pdf`) from **every** commit's history.
14//!
15//! nornir re-exports both modules as `nornir::gitio` / `nornir::gitclean`, so its
16//! existing `crate::gitio::…` call sites resolve unchanged.
17
18pub mod gitclean;
19pub mod gitio;
20pub mod selftest;
21pub mod ssh;