Creates a file undelete operation.
(trunk_id: TrunkId, path: String)
| 163 | |
| 164 | /// Creates a file undelete operation. |
| 165 | pub fn undelete(trunk_id: TrunkId, path: String) -> Self { |
| 166 | Self { |
| 167 | trunk_id, |
| 168 | path, |
| 169 | trunk_op: Some(TrunkOp::Undelete { trunk: trunk_id }), |
| 170 | line_ops: Vec::new(), |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | /// Creates a semantic mode attribute operation. |
| 175 | pub fn set_mode( |
nothing calls this directly
no outgoing calls
no test coverage detected