Check if a path exists.
(&self, path: &str)
| 130 | |
| 131 | /// Check if a path exists. |
| 132 | fn exists(&self, path: &str) -> bool { |
| 133 | self.resolve_path(path) |
| 134 | .map(|path| fs::symlink_metadata(path).is_ok()) |
| 135 | .unwrap_or(false) |
| 136 | } |
| 137 | |
| 138 | /// Check if a path is a directory. |
| 139 | fn is_directory(&self, path: &str) -> bool { |
nothing calls this directly
no test coverage detected