Function hisho_core::files::resolve_path
source · pub fn resolve_path(path: String) -> Result<PathBuf, Error>
Expand description
Try to resolve a path using home resolution and canonicalization.
If ~
is present anywhere in the input path, we try to resolve it to the current users home directory.
For this resolution we use the get_home_dir()
function