A PathBuf wrapper that guarantees that the path has been resolved in
this particular order:
1. Any environment variables have been resolved
2. A leading tilde has been resolved
3. A non-rooted path has been rooted. The default conversion to rooted
occurs by prepending / on Unix or \ on Windows. A different root can be
provided by constructing the UniPath using UniPath::new_with_root.
4. Unix style path separators (/) have been replaced with \ (Windows
only)
Represents the public Tendrils API.
Although the API functions are not static (i.e. they
require an API instance), this is mainly to facilitate easier mocking
for testing. The actual API implementation should have little to no state.