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

Function test_store_load_nonexistent

atomic-agent/src/turn/session.rs:1065–1069  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1063
1064 #[test]
1065 fn test_store_load_nonexistent() {
1066 let (_dir, store) = make_store();
1067 let loaded = store.load("does-not-exist").unwrap();
1068 assert!(loaded.is_none());
1069 }
1070
1071 #[test]
1072 fn test_store_save_overwrites() {

Callers

nothing calls this directly

Calls 3

make_storeFunction · 0.85
unwrapMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected