Check if this graph_op represents a file-level operation.
(&self)
| 588 | |
| 589 | /// Check if this graph_op represents a file-level operation. |
| 590 | pub fn is_file_operation(&self) -> bool { |
| 591 | matches!( |
| 592 | self, |
| 593 | GraphOp::FileAdd { .. } |
| 594 | | GraphOp::FileDel { .. } |
| 595 | | GraphOp::FileUndel { .. } |
| 596 | | GraphOp::FileMove { .. } |
| 597 | | GraphOp::SetAttr { .. } |
| 598 | ) |
| 599 | } |
| 600 | |
| 601 | /// Check if this graph_op represents a directory-level operation. |
| 602 | /// |
no outgoing calls
no test coverage detected