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

Method is_root

atomic-core/src/pristine/traits/view.rs:259–261  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

257 /// Check if this is the root view (no parent).
258 #[inline]
259 pub fn is_root(&self) -> bool {
260 self.parent.is_none()
261 }
262}
263
264// ---------------------------------------------------------------------------

Callers 5

next_inode_adjMethod · 0.45
find_blockMethod · 0.45
find_block_endMethod · 0.45
find_blockMethod · 0.45
find_block_endMethod · 0.45

Calls 1

is_noneMethod · 0.80

Tested by

no test coverage detected