normalize_database_path

Function normalize_database_path 

Source
pub fn normalize_database_path(p: impl AsRef<Path>) -> Result<PathBuf>
Expand description

As best as possible, convert p into an absolute path, resolving all symlinks along the way.

If p is a file url, it’s converted to a path before this.