Check if a path exists in the working copy. # Arguments `path` - Relative path within the working copy # Returns `true` if the path exists, `false` otherwise.
(&self, path: &str)
| 251 | /// |
| 252 | /// `true` if the path exists, `false` otherwise. |
| 253 | fn exists(&self, path: &str) -> bool { |
| 254 | self.file_metadata(path).is_ok() |
| 255 | } |
| 256 | |
| 257 | /// Check if a path is a directory. |
| 258 | /// |
nothing calls this directly
no test coverage detected