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

Method has_change

atomic-core/src/change/store.rs:451–453  ·  view source on GitHub ↗
(&self, hash: &Hash)

Source from the content-addressed store, hash-verified

449 }
450
451 fn has_change(&self, hash: &Hash) -> bool {
452 self.changes.read().unwrap().contains_key(hash)
453 }
454
455 fn has_contents(&self, hash: &Hash) -> bool {
456 self.changes

Calls 3

contains_keyMethod · 0.80
unwrapMethod · 0.45
readMethod · 0.45