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

Method added

atomic-cli/src/commands/diff/types.rs:119–121  ·  view source on GitHub ↗

Create statistics for an added file. # Arguments `path` - The file path `lines` - Number of lines in the new file

(path: impl Into<String>, lines: usize)

Source from the content-addressed store, hash-verified

117 /// * `path` - The file path
118 /// * `lines` - Number of lines in the new file
119 pub fn added(path: impl Into<String>, lines: usize) -> Self {
120 Self::new(path, lines, 0, 'A')
121 }
122
123 /// Create statistics for a deleted file.
124 ///

Callers 4

run_pushMethod · 0.45
print_long_formatMethod · 0.45
print_short_formatMethod · 0.45
runMethod · 0.45

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected