Skip to main content

file_stem

Function file_stem 

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

transform to a base name (via Path::file_stem) Note: Perl’s pathname_name returns the stem without extension and without case change.