Returns true if this file has any operations.
(&self)
| 452 | |
| 453 | /// Returns true if this file has any operations. |
| 454 | pub fn has_operations(&self) -> bool { |
| 455 | self.trunk_op.is_some() || !self.line_ops.is_empty() |
| 456 | } |
| 457 | |
| 458 | /// Returns true if this is a file creation. |
| 459 | pub fn is_create(&self) -> bool { |