Creates a file deletion operation.
(trunk_id: TrunkId, path: String)
| 140 | |
| 141 | /// Creates a file deletion operation. |
| 142 | pub fn delete(trunk_id: TrunkId, path: String) -> Self { |
| 143 | Self { |
| 144 | trunk_id, |
| 145 | path, |
| 146 | trunk_op: Some(TrunkOp::Delete { trunk: trunk_id }), |
| 147 | line_ops: Vec::new(), |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | /// Creates a file move/rename operation. |
| 152 | pub fn move_file(trunk_id: TrunkId, _old_path: String, new_path: String) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected