tokmd-exclude 1.7.3

Single-responsibility exclude-pattern normalization and matching helpers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# tokmd-exclude

Single-responsibility microcrate for deterministic exclude-pattern handling.

## API

- `normalize_exclude_pattern(root, path)` - normalize path separators, strip `./`,
  and make absolute paths root-relative when possible.
- `has_exclude_pattern(existing, pattern)` - membership check with normalized
  matching (slash and `./` insensitive).
- `add_exclude_pattern(existing, pattern)` - push only when the normalized pattern
  is non-empty and not already present.