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

Method insert_after

atomic-core/src/change/ops.rs:949–954  ·  view source on GitHub ↗

Returns the "after" reference for insert operations.

(&self)

Source from the content-addressed store, hash-verified

947
948 /// Returns the "after" reference for insert operations.
949 pub fn insert_after(&self) -> Option<BranchId> {
950 match &self.operation {
951 BranchOp::Insert { after, .. } => *after,
952 _ => None,
953 }
954 }
955
956 /// Consumes and returns the branch operation.
957 pub fn into_operation(self) -> BranchOp {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected