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)
| 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 | /// |
no test coverage detected