(
local: Local,
encoding: Option<Encoding>,
content_start: u64,
content_end: u64,
)
| 106 | /// ``` |
| 107 | #[must_use] |
| 108 | pub fn new_edit( |
| 109 | local: Local, |
| 110 | encoding: Option<Encoding>, |
| 111 | content_start: u64, |
| 112 | content_end: u64, |
| 113 | ) -> Self { |
| 114 | Self { |
| 115 | kind: BuiltHunkKind::Insert, |
| 116 | local, |
| 117 | encoding, |
| 118 | content_start: Some(content_start), |
| 119 | content_end: Some(content_end), |
| 120 | deleted_lines: Vec::new(), |
| 121 | old_start: 0, |
| 122 | new_start: 0, |
| 123 | new_len: 0, |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | /// Create a new edit (insert) graph_op with line tracking. |
| 128 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected