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

Method is_root

atomic-core/src/crdt/ids.rs:84–86  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

82 /// Returns `true` if this is the root trunk ID.
83 #[inline]
84 pub fn is_root(&self) -> bool {
85 *self == Self::ROOT
86 }
87
88 /// Encodes as 12 bytes for storage.
89 #[inline]

Callers 15

get_vertex_contentMethod · 0.45
output_file_via_crdtFunction · 0.45
is_vertex_aliveFunction · 0.45
is_vertex_aliveMethod · 0.45
detect_fork_conflictsFunction · 0.45
output_file_with_filterFunction · 0.45
output_file_to_bufferFunction · 0.45
supersedor_in_forkFunction · 0.45
resolve_vertexFunction · 0.45
find_source_vertexFunction · 0.45
find_target_vertexFunction · 0.45

Calls

no outgoing calls

Tested by 2