omni-dev 0.21.0

A powerful Git commit message analysis and amendment toolkit
Documentation
//! Git operations and repository management.

pub mod amendment;
pub mod commit;
pub mod diff_split;
pub mod remote;
pub mod repository;

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

/// Number of hex characters to show in abbreviated commit hashes.
pub const SHORT_HASH_LEN: usize = 8;

/// Length of a full SHA-1 commit hash in hex characters.
pub const FULL_HASH_LEN: usize = 40;