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

Function test_store_load_nonexistent

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

Source from the content-addressed store, hash-verified

1119
1120 #[test]
1121 fn test_store_load_nonexistent() {
1122 let (_dir, store) = make_store();
1123 let loaded = store.load("does-not-exist").unwrap();
1124 assert!(loaded.is_none());
1125 }
1126
1127 #[test]
1128 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