pub fn get_file_stem<P>(path: &P) -> Option<&str>where P: AsRef<Path>,
Returns the file stem of a path.
path
Returns None if the source path terminates in .. or is /.
None
source
..
/