Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ Store
Class
Store
libatomic/examples/replication_acceptance/peer.rs:24–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
23
#[derive(Default)]
24
struct Store {
25
objects: BTreeMap<(String, String), ObjectRecord>,
26
refs: BTreeMap<String, String>,
27
posts: Vec<Value>,
28
}
29
#[derive(Clone)]
30
struct Endpoint {
31
store: Arc<Mutex<Store>>,
Callers
1
from
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected