pub fn cached_rules(root: &Path, local: &str) -> Option<RulesTally>Expand description
The rule tally a full resolution left for the entry path, when there is one.
use majordomus_cli::environment::preflight::cached_rules;
let dir = tempfile::tempdir().unwrap();
assert!(cached_rules(dir.path(), ".ai/local").is_none(), "a miss is not an error");