pub fn resolve_exempt(
root: &Path,
exemptions: &[Exemption],
rule: Rule,
) -> Result<BTreeSet<String>>Expand description
Resolve the set of exempt paths for rule from exemptions, validating that
each still points to a file under root.
A stale entry — a path that no longer exists — is an error, so the exempt
list can’t silently rot (the auditable counterpart to an ignore-glob, which
would just stop matching). Returns the matching paths as /-joined,
root-relative strings, sorted and de-duplicated.