Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_content
Method · 0.45
output_file_via_crdt
Function · 0.45
is_vertex_alive
Function · 0.45
is_vertex_alive
Method · 0.45
detect_fork_conflicts
Function · 0.45
output_file_with_filter
Function · 0.45
output_file_to_buffer
Function · 0.45
output_file_to_buffer_with_options
Function · 0.45
supersedor_in_fork
Function · 0.45
resolve_vertex
Function · 0.45
find_source_vertex
Function · 0.45
find_target_vertex
Function · 0.45
Calls
no outgoing calls
Tested by
2
test_hyperfine_crdt_audit
Function · 0.36
collect_alive_branch_dump
Function · 0.36