Check if this is a directory. # Returns `true` if this metadata represents a directory.
(&self)
| 385 | /// |
| 386 | /// `true` if this metadata represents a directory. |
| 387 | pub fn is_dir(&self) -> bool { |
| 388 | self.is_directory |
| 389 | } |
| 390 | |
| 391 | /// Check if this file is executable. |
| 392 | /// |
no outgoing calls