Skip to main content

rung_git/
lib.rs

1//! # rung-git
2//!
3//! Git operations abstraction layer for Rung, built on git2-rs.
4//! Provides high-level operations for branch management, rebasing,
5//! and repository state inspection.
6//!
7//! # Architecture
8//!
9//! The crate provides both a concrete [`Repository`] implementation and
10//! a [`GitOps`] trait for dependency injection and testing.
11
12mod absorb;
13mod error;
14mod repository;
15mod traits;
16
17pub use absorb::{BlameResult, Hunk};
18pub use error::{Error, Result};
19pub use git2::Oid;
20pub use repository::{ConflictPrediction, RemoteDivergence, Repository};
21pub use traits::{AbsorbOps, GitOps};