Method
removed
(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
Tested by
no test coverage detected