Skip to main content

tree_diff_plain

Function tree_diff_plain 

Source
pub fn tree_diff_plain(
    before: &CompiledPolicy,
    after: &CompiledPolicy,
) -> Option<String>
Expand description

Produce a plain (uncolored) unified diff between two compiled policies.

Useful for testing and non-TTY environments.