Create new file diff statistics. # Arguments `path` - The file path `insertions` - Number of lines added `deletions` - Number of lines deleted `status` - Status character (M/A/D/R/C)
(path: impl Into<String>, insertions: usize, deletions: usize, status: char)
| 125 | /// * `deletions` - Number of lines deleted |
| 126 | /// * `status` - Status character (M/A/D/R/C) |
| 127 | pub fn new(path: impl Into<String>, insertions: usize, deletions: usize, status: char) -> Self { |
| 128 | Self { |
| 129 | path: path.into(), |
| 130 | insertions, |
| 131 | deletions, |
| 132 | status, |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | /// Create statistics for an added file. |
| 137 | /// |