Skip to main content

Module store_diff

Module store_diff 

Source
Expand description

Typed diff between two ParsedNar trees.

Operators need a substrate-level “what changed between these two NAR archives?” answer. This module produces a typed Diff AST that downstream tools render however they like (JSON, terminal, IDE).

Composes against crate::store_ops::ParsedNar; doesn’t touch the filesystem.

Structs§

Diff
Path-keyed diff between two NAR trees. Paths are relative to the diff root, slash-separated.
DiffHistogram
Aggregate counts. Useful for the operator-facing summary.

Enums§

DiffEntry
One diff record for a single path or pair.

Functions§

diff
Diff two NAR trees, producing the typed Diff.