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

Method new

atomic-core/src/change/store.rs:347–351  ·  view source on GitHub ↗

Create a new empty memory store.

()

Source from the content-addressed store, hash-verified

345impl MemoryChangeStore {
346 /// Create a new empty memory store.
347 pub fn new() -> Self {
348 Self {
349 changes: RwLock::new(HashMap::new()),
350 }
351 }
352
353 /// Insert a change into the store.
354 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected