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

Method contains

atomic-core/src/pristine/traits/view.rs:49–51  ·  view source on GitHub ↗

Return whether this membership directly names `change_id`.

(&self, change_id: impl Borrow<NodeId>)

Source from the content-addressed store, hash-verified

47
48 /// Return whether this membership directly names `change_id`.
49 pub fn contains(&self, change_id: impl Borrow<NodeId>) -> bool {
50 self.membership.contains(change_id.borrow())
51 }
52
53 /// Return the number of directly named changes.
54 pub fn len(&self) -> usize {

Callers 15

blockFunction · 0.45
block_endFunction · 0.45
export_skeletonMethod · 0.45
export_graph_sliceMethod · 0.45
export_crdtMethod · 0.45
import_skeletonMethod · 0.45
is_visibleMethod · 0.45
next_inode_adjMethod · 0.45
nextMethod · 0.45
is_change_visibleMethod · 0.45
get_inode_attr_eventsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected