Skip to main content

Module git

Module git 

Source
Expand description

Git operations and repository management.

Re-exports§

pub use amendment::AmendmentHandler;
pub use commit::CommitAnalysis;
pub use commit::CommitAnalysisForAI;
pub use commit::CommitInfo;
pub use commit::CommitInfoForAI;
pub use commit::FileDiffRef;
pub use diff_split::split_by_file;
pub use diff_split::split_file_by_hunk;
pub use diff_split::FileDiff;
pub use diff_split::HunkDiff;
pub use remote::RemoteInfo;
pub use repository::GitRepository;

Modules§

amendment
Git commit amendment operations.
commit
Git commit operations and analysis.
diff_split
Per-file and per-hunk unified diff splitting.
remote
Git remote operations.
repository
Git repository operations.

Constants§

FULL_HASH_LEN
Length of a full SHA-1 commit hash in hex characters.
SHORT_HASH_LEN
Number of hex characters to show in abbreviated commit hashes.