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

Method deleted

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

Create statistics for a deleted file. # Arguments `path` - The file path `lines` - Number of lines in the deleted file

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

Source from the content-addressed store, hash-verified

127 /// * `path` - The file path
128 /// * `lines` - Number of lines in the deleted file
129 pub fn deleted(path: impl Into<String>, lines: usize) -> Self {
130 Self::new(path, 0, lines, 'D')
131 }
132
133 /// Create statistics for a modified file.
134 ///

Callers 4

print_long_formatMethod · 0.45
print_short_formatMethod · 0.45
runMethod · 0.45

Calls 1

cloneMethod · 0.45

Tested by 1