(
local: Local,
encoding: Option<Encoding>,
deleted_lines: Vec<usize>,
old_start: usize,
)
| 179 | /// ``` |
| 180 | #[must_use] |
| 181 | pub fn new_delete( |
| 182 | local: Local, |
| 183 | encoding: Option<Encoding>, |
| 184 | deleted_lines: Vec<usize>, |
| 185 | old_start: usize, |
| 186 | ) -> Self { |
| 187 | Self { |
| 188 | kind: BuiltHunkKind::Delete, |
| 189 | local, |
| 190 | encoding, |
| 191 | content_start: None, |
| 192 | content_end: None, |
| 193 | deleted_lines, |
| 194 | old_start, |
| 195 | new_start: 0, |
| 196 | new_len: 0, |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | /// Create a new replacement graph_op. |
| 201 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected