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

Method additions

atomic-core/src/diff/display.rs:292–294  ·  view source on GitHub ↗

Get the number of lines added.

(&self)

Source from the content-addressed store, hash-verified

290
291 /// Get the number of lines added.
292 pub fn additions(&self) -> usize {
293 self.diff_result.insertions()
294 }
295
296 /// Get the number of lines removed.
297 pub fn deletions(&self) -> usize {

Callers

nothing calls this directly

Calls 1

insertionsMethod · 0.45

Tested by

no test coverage detected