Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
416
impl Default for MemoryChangeStore {
Callers
1
test_hashes
Function · 0.45
Calls
3
collect
Method · 0.45
unwrap
Method · 0.45
read
Method · 0.45
Tested by
1
test_hashes
Function · 0.36