Returns `true` if this is a directory operation.
(&self)
| 162 | |
| 163 | /// Returns `true` if this is a directory operation. |
| 164 | pub fn is_directory(&self) -> bool { |
| 165 | matches!( |
| 166 | self.kind, |
| 167 | FileRecordKind::DirectoryAdded | FileRecordKind::DirectoryDeleted |
| 168 | ) |
| 169 | } |
| 170 | } |
| 171 | |
| 172 | impl fmt::Display for FileRecordInput { |
no outgoing calls
no test coverage detected