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

Method hashes

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

Get all hashes in the store.

(&self)

Source from the content-addressed store, hash-verified

409
410 /// Get all hashes in the store.
411 pub fn hashes(&self) -> Vec<Hash> {
412 self.changes.read().unwrap().keys().copied().collect()
413 }
414}
415
416impl Default for MemoryChangeStore {

Callers 1

test_hashesFunction · 0.45

Calls 3

collectMethod · 0.45
unwrapMethod · 0.45
readMethod · 0.45

Tested by 1

test_hashesFunction · 0.36