Skip to main content

real_path

Function real_path 

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

path, canonicalised when it exists, without Windows’ \\?\ prefix, so that it is spelled as the file system spells it. A package is identified by its directory’s real path (spec 3.3a §3.3), and the language server builds unopened files’ URIs on it.