pub fn split(pathname: &str) -> (String, String, String)
Split the pathname into components (dir,name,type). If pathname is absolute, dir starts with volume or ‘/’