Skip to main content

void_core/diff/
mod.rs

1//! Diff engine for void
2//!
3//! Computes file-level differences between commits, trees, and working directories.
4
5pub mod content;
6pub(crate) mod collect;
7mod rename;
8mod staged;
9mod three_way;
10mod tree;
11mod types;
12mod working;
13
14// Re-export public API
15pub use content::{
16    content_diff_commits, content_diff_index, content_diff_staged, content_diff_working,
17    ContentDiff, DiffLine, Hunk,
18};
19pub use staged::diff_staged;
20pub use three_way::{diff_three_way, Side, ThreeWayDiff, ThreeWayStatus};
21pub use tree::diff_commits;
22pub use types::{DiffKind, DiffStats, FileDiff, TreeDiff};
23pub use working::{diff_index, diff_working};
24
25// Re-export Cid for convenience (was in original)
26pub use ::cid::Cid;