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

Function test_file_metadata_not_found

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

Source from the content-addressed store, hash-verified

839
840 #[test]
841 fn test_file_metadata_not_found() {
842 let wc = Memory::new();
843 let result = wc.file_metadata("nonexistent");
844 assert!(matches!(result, Err(MemoryError::NotFound { .. })));
845 }
846
847 #[test]
848 fn test_read_file() {

Callers

nothing calls this directly

Calls 1

file_metadataMethod · 0.45

Tested by

no test coverage detected