Returns true if this file has any operations.
(&self)
| 231 | |
| 232 | /// Returns true if this file has any operations. |
| 233 | pub fn has_operations(&self) -> bool { |
| 234 | self.trunk_op.is_some() || !self.line_ops.is_empty() |
| 235 | } |
| 236 | |
| 237 | /// Returns true if this is a file creation. |
| 238 | pub fn is_create(&self) -> bool { |