Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ make_store
Function
make_store
atomic-agent/src/turn/session.rs:691–695 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
689
}
690
691
fn make_store() -> (TempDir, SessionStore) {
692
let dir = TempDir::new().unwrap();
693
let store = SessionStore::new(dir.path().join(
"sessions"
)).unwrap();
694
(dir, store)
695
}
696
697
// AgentSession construction
698
Callers
15
test_store_save_and_load
Function · 0.85
test_store_load_nonexistent
Function · 0.85
test_store_save_overwrites
Function · 0.85
test_store_load_rejects_path_traversal
Function · 0.85
test_store_save_rejects_path_traversal
Function · 0.85
test_store_clear
Function · 0.85
test_store_clear_nonexistent_is_ok
Function · 0.85
test_store_list_empty
Function · 0.85
test_store_list_multiple
Function · 0.85
test_store_list_sorted_newest_first
Function · 0.85
test_store_list_skips_tmp_files
Function · 0.85
test_store_list_skips_corrupted_files
Function · 0.85
Calls
2
unwrap
Method · 0.45
path
Method · 0.45
Tested by
15
test_store_save_and_load
Function · 0.68
test_store_load_nonexistent
Function · 0.68
test_store_save_overwrites
Function · 0.68
test_store_load_rejects_path_traversal
Function · 0.68
test_store_save_rejects_path_traversal
Function · 0.68
test_store_clear
Function · 0.68
test_store_clear_nonexistent_is_ok
Function · 0.68
test_store_list_empty
Function · 0.68
test_store_list_multiple
Function · 0.68
test_store_list_sorted_newest_first
Function · 0.68
test_store_list_skips_tmp_files
Function · 0.68
test_store_list_skips_corrupted_files
Function · 0.68