Returns true if this metadata is for a directory. The result is mutually exclusive to the result of is_file
(&self)
| 338 | /// Returns true if this metadata is for a directory. The result |
| 339 | /// is mutually exclusive to the result of is_file |
| 340 | pub fn is_dir(&self) -> bool { |
| 341 | self.is_dir |
| 342 | } |
| 343 | |
| 344 | /// Returns true if this metadata is for a regular file. |
| 345 | pub fn is_file(&self) -> bool { |