Check if a path is a directory. # Arguments `path` - Relative path within the working copy # Returns `true` if the path exists and is a directory, `false` otherwise.
(&self, path: &str)
| 264 | /// |
| 265 | /// `true` if the path exists and is a directory, `false` otherwise. |
| 266 | fn is_directory(&self, path: &str) -> bool { |
| 267 | self.file_metadata(path).map(|m| m.is_dir).unwrap_or(false) |
| 268 | } |
| 269 | |
| 270 | /// Walk the directory tree and return all file paths. |
| 271 | /// |
nothing calls this directly
no test coverage detected