pub fn is_absolute_path(path: &str) -> boolExpand description
Filesystem::isAbsolutePath: /…, \…, C:/…/C:\…, or a stream
wrapper (phar://…). On Unix only / exists in practice; the
starts_with('/') form of the test missed Windows drive-letter paths.