1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright 2025 Umberto Gotti <umberto.gotti@umbertogotti.dev>
// Licensed under the MIT License
// SPDX-License-Identifier: MIT
use PathBuf;
// What the exclusions did, as well as what survived them.
//
// The count per pattern is carried rather than a single total, because a
// pattern that matched **nothing** is the interesting case and a total would
// hide it. A stale exclude left in a config file after the tree it named was
// deleted still looks like it is doing something, and the run it silences is
// indistinguishable from a run that had nothing to say -- which is the same
// failure this tool refuses everywhere else.