MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / a_missing_directory_is_reported

Function a_missing_directory_is_reported

atomic-cli/src/logging/retention.rs:121–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119
120 #[test]
121 fn a_missing_directory_is_reported() {
122 let dir = tempfile::tempdir().unwrap();
123 let missing = dir.path().join("missing");
124 let failures = prune(&missing, "atomic", "log", 7);
125 assert_eq!(failures.len(), 1);
126 assert_eq!(failures[0].0, missing);
127 }
128}

Callers

nothing calls this directly

Calls 3

pruneFunction · 0.85
unwrapMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected