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

Method added

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

Source from the content-addressed store, hash-verified

33
34impl 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

Calls 1

addedFunction · 0.85

Tested by

no test coverage detected