Crate canonical_path [−] [src]
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
| CanonicalPath |
A reference type for a canonical filesystem path |
| CanonicalPathBuf |
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. |