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,
CanonicalPathBuf guarantee that the paths they represent
are canonical, or at least, were canonical at the time they were created.
A reference type for a canonical filesystem path
An owned path on the filesystem which is guaranteed to be canonical.
Returns the full, canonicalized filesystem path of the current running executable.