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§
- Canonical
Path - A reference type for a canonical filesystem path
- Canonical
Path Buf - An owned path on the filesystem which is guaranteed to be canonical.
Functions§
- current_
exe - Returns the full, canonicalized filesystem path of the current running executable.