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

Method deleted

atomic-repository/src/diff_engine.rs:152–154  ·  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

150 /// * `path` - The file path
151 /// * `lines` - Number of lines in the deleted file
152 pub fn deleted(path: impl Into<String>, lines: usize) -> Self {
153 Self::new(path, 0, lines, 'D')
154 }
155
156 /// Create statistics for a modified file.
157 ///

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected