Skip to main content

Module diff

Module diff 

Source
Expand description

diff_compaction (canonical id: "diff_compaction", v1.0.0).

Lossy-with-evidence transform operating on unified-diff text such as the output of git diff. Ships behind --experimental until the fidelity gate is green for this transform (see F-013 / F-016 in roadmap.md).

This module is not yet wired into the crate (no mod transforms; declaration exists in lib.rs); it implements the mechanical line-classification behavior only. The policy decision of when the header-only form (keep_line_bodies = false) is allowed to run (only for TaskScope::ChangeSummary) is made by the caller, not by this module.

Constants§

TRANSFORM_ID
Stable canonical transform id, for future TransformReport.id wiring.
TRANSFORM_VERSION
Semantic version of this transform’s behavior, for future TransformReport.version wiring.

Functions§

compact_diff
Compacts unified-diff text (e.g. git diff output) per the diff_compaction (F-013) contract.