Skip to main content

split

Function split 

Source
pub fn split(path: &str, fmt: PathFormat) -> (&str, &str)
Expand description

Split a path into (parent, file_name), matching pathlib behavior.