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

Method unchanged

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

Create an unchanged hunk.

(start: usize, end: usize)

Source from the content-addressed store, hash-verified

224
225 /// Create an unchanged hunk.
226 pub fn unchanged(start: usize, end: usize) -> Self {
227 Self::new(start, end, HunkKind::Unchanged)
228 }
229
230 /// Get the byte range as a Range.
231 #[inline]

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected