Skip to main content

split

Function split 

Source
pub fn split(pathname: &str) -> (String, String, String)
Expand description

Split the pathname into components (dir,name,type). If pathname is absolute, dir starts with volume or ‘/’