pub fn split_extension(path: &str) -> Option<(&str, &str)>
Split a path into (stem, extension-with-dot) at the final . of the last path component. Returns None when that component has no extension.
.
None