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

Function test_store_load_nonexistent

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

Source from the content-addressed store, hash-verified

2052
2053 #[test]
2054 fn test_store_load_nonexistent() {
2055 let (_dir, store) = make_store();
2056 let loaded = store.load("does-not-exist").unwrap();
2057 assert!(loaded.is_none());
2058 }
2059
2060 #[test]
2061 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