pub fn normalize(path: &Path) -> PathBufExpand description
Normalizes a config path for identity comparison: expands ~, resolves it
against the current directory when relative, and canonicalizes it when the
file exists (falling back to the absolute lexical path when it does not). Two
paths that name the same file, whether relative, absolute, or ~-prefixed,
normalize to the same value.