fn dirname(src: &'_ Path) -> Option<&'_ Path> {
    if src.is_file() {
        return src.parent();
    }
    Some(src)
}
// Get the directory name of a given `Path`.
Get the directory name of a given `Path`.
Get the directory name of a given ` Path ` .
fn dirname(src: &'_ Path) -> Option<&'_ Path> {
    if src.is_file() {
        return src.parent();
    }
    Some(src)
}
fn dirname ( src : & ' _ Path ) -> Option < & ' _ Path > { if src . is_file ( ) { return src . parent ( ) ; } Some ( src ) }
Get the directory name of a given `Path`.
Get the directory name of a given ` Path ` .
src
&'_ Path