Creates a file deletion operation.
(trunk_id: TrunkId, path: String)
| 51 | |
| 52 | /// Creates a file deletion operation. |
| 53 | pub fn delete(trunk_id: TrunkId, path: String) -> Self { |
| 54 | Self { |
| 55 | trunk_id, |
| 56 | path, |
| 57 | trunk_op: Some(TrunkOp::Delete { trunk: trunk_id }), |
| 58 | line_ops: Vec::new(), |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | /// Returns the trunk ID. |
| 63 | #[inline] |
nothing calls this directly
no outgoing calls
no test coverage detected