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

Method inserted

atomic-core/src/diff/inline.rs:216–218  ·  view source on GitHub ↗

Create an inserted hunk.

(start: usize, end: usize)

Source from the content-addressed store, hash-verified

214
215 /// Create an inserted hunk.
216 pub fn inserted(start: usize, end: usize) -> Self {
217 Self::new(start, end, HunkKind::Inserted)
218 }
219
220 /// Create a modified hunk.
221 pub fn modified(start: usize, end: usize) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected