Skip to main content

canonical_schema_path

Function canonical_schema_path 

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

The identity of a schema file, so two spellings of one file are one file (docs/design/multi-file-schemas.md section 5, Q3): std::fs::canonicalize, or, for a file that does not exist, the absolute path with . and .. folded away lexically.