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

Method is_empty

atomic-core/src/diff/inline.rs:244–246  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

242 /// Check if this hunk is empty.
243 #[inline]
244 pub fn is_empty(&self) -> bool {
245 self.start >= self.end
246 }
247
248 /// Check if this hunk represents a change.
249 #[inline]

Callers 6

unchangedMethod · 0.45
all_deletedMethod · 0.45
all_insertedMethod · 0.45
merge_hunksFunction · 0.45
fill_gapsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected