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

Method hashes

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

Get all hashes in the store.

(&self)

Source from the content-addressed store, hash-verified

385
386 /// Get all hashes in the store.
387 pub fn hashes(&self) -> Vec<Hash> {
388 self.changes.read().unwrap().keys().copied().collect()
389 }
390}
391
392impl Default for MemoryChangeStore {

Callers 1

test_hashesFunction · 0.45

Calls 1

unwrapMethod · 0.45

Tested by 1

test_hashesFunction · 0.36