Skip to main content

Crate rung_git

Crate rung_git 

Source
Expand description

§rung-git

Git operations abstraction layer for Rung, built on git2-rs. Provides high-level operations for branch management, rebasing, and repository state inspection.

§Architecture

The crate provides both a concrete Repository implementation and a GitOps trait for dependency injection and testing.

Structs§

BlameResult
Result of a blame query for a line range.
ConflictPrediction
Predicted conflict for a single commit during a rebase operation.
Hunk
A hunk of changes from a staged diff.
Oid
Unique identity of any object (commit, tree, blob, tag).
Repository
High-level wrapper around a git repository.

Enums§

Error
Errors that can occur during git operations.
RemoteDivergence
Divergence state between a local branch and its tracking remote (upstream, falls back to origin).

Traits§

AbsorbOps
Trait for absorb-specific git operations.
GitOps
Trait for git repository operations.

Type Aliases§

Result
Result type alias using Error.