Check if this is a file. # Returns `true` if this item represents a file.
(&self)
| 562 | /// |
| 563 | /// `true` if this item represents a file. |
| 564 | pub fn is_file(&self) -> bool { |
| 565 | !self.is_directory |
| 566 | } |
| 567 | |
| 568 | /// Set the metadata for this item. |
| 569 | /// |
no outgoing calls