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

Function test_remove_path_not_found

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

Source from the content-addressed store, hash-verified

953
954 #[test]
955 fn test_remove_path_not_found() {
956 let wc = Memory::new();
957 let result = wc.remove_path("nonexistent", false);
958 assert!(matches!(result, Err(MemoryError::NotFound { .. })));
959 }
960
961 #[test]
962 fn test_remove_path_empty_directory() {

Callers

nothing calls this directly

Calls 1

remove_pathMethod · 0.45

Tested by

no test coverage detected