Method
added
(content: impl Into<String>, new_num: usize, net_before: isize)
Source from the content-addressed store, hash-verified
| 33 | |
| 34 | impl NumberedLine { |
| 35 | pub(super) fn added(content: impl Into<String>, new_num: usize, net_before: isize) -> Self { |
| 36 | Self { |
| 37 | line: HunkLine::added(content, new_num), |
| 38 | net_before, |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | pub(super) fn removed(content: impl Into<String>, old_num: usize, net_before: isize) -> Self { |
| 43 | Self { |
Callers
nothing calls this directly
Tested by
no test coverage detected