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

Method removed

atomic-cli/src/commands/diff/helpers.rs:42–47  ·  view source on GitHub ↗
(content: impl Into<String>, old_num: usize, net_before: isize)

Source from the content-addressed store, hash-verified

40 }
41
42 pub(super) fn removed(content: impl Into<String>, old_num: usize, net_before: isize) -> Self {
43 Self {
44 line: HunkLine::removed(content, old_num),
45 net_before,
46 }
47 }
48
49 /// Old-file position: the line number for removals, or the insertion
50 /// boundary (the number of the preceding old line) for additions.

Callers

nothing calls this directly

Calls 1

removedFunction · 0.85

Tested by

no test coverage detected