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

Method delete

atomic-core/src/record/workflow/graph_op/pending.rs:99–107  ·  view source on GitHub ↗
(old_start: usize, old_len: usize, new_index: usize)

Source from the content-addressed store, hash-verified

97 /// ```
98 #[must_use]
99 pub fn delete(old_start: usize, old_len: usize, new_index: usize) -> Self {
100 Self {
101 kind: PendingChangeKind::Delete,
102 old_start,
103 old_len,
104 new_start: new_index,
105 new_len: 0,
106 }
107 }
108
109 /// Create a new replacement change.
110 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected