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

Method is_reparent

atomic-core/src/crdt/branch.rs:454–456  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

452 /// Returns `true` if this is a reparent operation.
453 #[inline]
454 pub fn is_reparent(&self) -> bool {
455 matches!(self, BranchOp::Reparent { .. })
456 }
457
458 /// Returns the insertion point for an Insert operation.
459 pub fn insert_after(&self) -> Option<Option<BranchId>> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected