Creates a semantic inode-kind attribute operation.
(trunk_id: TrunkId, path: String, kind: crate::change::InodeKind)
| 191 | |
| 192 | /// Creates a semantic inode-kind attribute operation. |
| 193 | pub fn set_kind(trunk_id: TrunkId, path: String, kind: crate::change::InodeKind) -> Self { |
| 194 | Self { |
| 195 | trunk_id, |
| 196 | path, |
| 197 | trunk_op: Some(TrunkOp::SetKind { |
| 198 | trunk: trunk_id, |
| 199 | kind, |
| 200 | }), |
| 201 | line_ops: Vec::new(), |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | /// Creates an edit operation (modifying an existing file). |
| 206 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected