grit-lib 0.5.31

Core library for the grit Git implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Commit graph layout for `log --graph` (lane topology and ASCII prefixes).
//!
//! [`GraphLayout`] consumes commits in display order (newest first, topological when
//! requested) with display parents and emits graph line prefixes. Parent lists should
//! already be rewritten so filtered-out commits are skipped while keeping connectivity.

mod layout;
mod parents;

pub use layout::{
    GraphCharset, GraphCommitInput, GraphLayout, GraphLineKind, GraphRenderedLine, GraphRowTopology,
};
pub use parents::LogGraphMaterialized;