Expand description
Path newtypes which are always guaranteed to be canonical
In the same way a str
“guarantees” a &[u8]
contains only valid UTF-8 data,
CanonicalPath
and CanonicalPathBuf
guarantee that the paths they represent
are canonical, or at least, were canonical at the time they were created.
Structs§
- A reference type for a canonical filesystem path
- An owned path on the filesystem which is guaranteed to be canonical.
Functions§
- Returns the full, canonicalized filesystem path of the current running executable.