Creates an edit operation (modifying an existing file). This has no trunk operation, only line operations.
(trunk_id: TrunkId, path: String)
| 206 | /// |
| 207 | /// This has no trunk operation, only line operations. |
| 208 | pub fn edit(trunk_id: TrunkId, path: String) -> Self { |
| 209 | Self { |
| 210 | trunk_id, |
| 211 | path, |
| 212 | trunk_op: None, |
| 213 | line_ops: Vec::new(), |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | /// Create a semantic edit against a span projection without fabricating a |
| 218 | /// historical trunk. The repository must validate the baseline against the |
nothing calls this directly
no outgoing calls
no test coverage detected