Skip to main content

normalized

Function normalized 

Source
pub fn normalized(path: &Path) -> PathBuf
Expand description

shared’s answer as an owned path —the normalized spelling of path, for a caller that has to compare two paths from the two halves of a comparison rather than carry them.

Public because a consumer doing its own comparison (a record file keyed by path, a report grouped by file) needs the same answer the streams were built with; a second normalization is how two answers to one question start to differ.