Function diff_bundles

Source
pub fn diff_bundles(
    old: &PolicyBundle,
    new: &PolicyBundle,
) -> Vec<(String, String)>
Expand description

Compute a unified text diff between the two bundles’ policy sources.

The result is a list of (policy_id, line_diff) pairs. Each line_diff is the unified diff text (empty string if the policies are identical).