pub fn absolute(path: impl AsRef<Path>) -> FsResult<PathBuf>
Wraps std::path::absolute error with a FsError, outputting the path that caused the error.
std::path::absolute
FsError
On wasm platforms this will just ensure the path begins with a /
/