pub fn normalize_exclude_pattern(root: &Path, path: &Path) -> StringExpand description
Normalize an exclude path into a deterministic pattern.
Rules:
- if
pathis absolute and underroot, strip therootprefix - convert backslashes to
/ - strip one leading
./