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

Method insert

atomic-core/src/record/workflow/graph_op/pending.rs:68–76  ·  view source on GitHub ↗
(old_index: usize, new_start: usize, new_len: usize)

Source from the content-addressed store, hash-verified

66 /// ```
67 #[must_use]
68 pub fn insert(old_index: usize, new_start: usize, new_len: usize) -> Self {
69 Self {
70 kind: PendingChangeKind::Insert,
71 old_start: old_index,
72 old_len: 0,
73 new_start,
74 new_len,
75 }
76 }
77
78 /// Create a new deletion change.
79 ///

Callers 15

test_inode_update_hashFunction · 0.45
add_inode_updateMethod · 0.45
mark_inode_recordedMethod · 0.45
resolve_path_to_inodeFunction · 0.45
alive_reachesFunction · 0.45
alive_reaches_inodeFunction · 0.45
add_dependencyMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_inode_update_hashFunction · 0.36