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

Method insert_after

atomic-core/src/crdt/branch.rs:459–464  ·  view source on GitHub ↗

Returns the insertion point for an Insert operation.

(&self)

Source from the content-addressed store, hash-verified

457
458 /// Returns the insertion point for an Insert operation.
459 pub fn insert_after(&self) -> Option<Option<BranchId>> {
460 match self {
461 BranchOp::Insert { after, .. } => Some(*after),
462 _ => None,
463 }
464 }
465}
466
467impl fmt::Display for BranchOp {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected