pub fn baseline_keys(root: &Path) -> BTreeSet<String>Expand description
The findings the ratchet accepts, read from the repository’s baseline file.
One finding per line, CODE<tab>path<tab>symbol, in the order the report sorts them.
A repository with no baseline file accepts none, which is the finished state the rule
describes.
use majordomus_cli::capability::builtin::quality::baseline_keys;
let dir = tempfile::tempdir().unwrap();
assert!(baseline_keys(dir.path()).is_empty(), "no file, no debt accepted");