Function shadow_file_with_basename

Source
pub fn shadow_file_with_basename(path: &PathBuf) -> ShadowFile
Expand description

Factory function for a ShadowFile, where we just use the path’s basename. Panics if path.file_name() returns None.