Skip to main content

Module diff

Module diff 

Source
Expand description

Tree diff utility for policy changes.

Compiles before/after policies, renders with format_tree(), and produces a unified diff suitable for terminal display (with optional colors).

Functionsยง

tree_diff
Produce a unified diff between two compiled policies, rendered as tree strings.
tree_diff_plain
Produce a plain (uncolored) unified diff between two compiled policies.