pub fn php_dirname(path: &str) -> String
PHP dirname() for the “does not exist” walk of PathRepository: trailing slashes ignored, . without a slash, / for a root child.
dirname()
PathRepository
.
/