Returns true if this file has any operations.
(&self)
| 437 | |
| 438 | /// Returns true if this file has any operations. |
| 439 | pub fn has_operations(&self) -> bool { |
| 440 | self.trunk_op.is_some() || !self.line_ops.is_empty() |
| 441 | } |
| 442 | |
| 443 | /// Returns true if this is a file creation. |
| 444 | pub fn is_create(&self) -> bool { |