This type is a wrapper around a normal [PathBuf
] that is resolved upon construction. This
happens through the [resolve_path
] crate.
Additionally, this wrapper preserves the original path as well, and uses the original when
serialized using [serde
]. This makes this wrapper a safe tool when dealing with user provided
path. For example either through command line arguments or configuration values.
Preserving the original allows us to avoid modifying the user configuration when serializing the configuration back to the disk.