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

Function test_walk_files_nonexistent_prefix

atomic-core/src/output/memory.rs:1337–1344  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1335
1336 #[test]
1337 fn test_walk_files_nonexistent_prefix() {
1338 let wc = Memory::new();
1339 wc.add_file("file.txt", b"");
1340
1341 let files = wc.walk_files("nonexistent").unwrap();
1342
1343 assert!(files.is_empty());
1344 }
1345}

Callers

nothing calls this directly

Calls 3

add_fileMethod · 0.45
unwrapMethod · 0.45
walk_filesMethod · 0.45

Tested by

no test coverage detected