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)
| 102 | /// * `deletions` - Number of lines deleted |
| 103 | /// * `status` - Status character (M/A/D/R/C) |
| 104 | pub fn new(path: impl Into<String>, insertions: usize, deletions: usize, status: char) -> Self { |
| 105 | Self { |
| 106 | path: path.into(), |
| 107 | insertions, |
| 108 | deletions, |
| 109 | status, |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | /// Create statistics for an added file. |
| 114 | /// |