true if the path starts with '/'
(&self)
| 342 | |
| 343 | /// true if the path starts with '/' |
| 344 | pub fn has_root(&self) -> bool { |
| 345 | self.inner.bytes()[0] == b'/' |
| 346 | } |
| 347 | |
| 348 | /// Returns true if the Path is absolute, i.e., if it is |
| 349 | /// independent of the current directory. |
no test coverage detected