Function resolve_path
Source pub fn resolve_path(path: &Path, cwd: &Path) -> PathBuf
Expand description
Resolve a path relative to a working directory.
If the path is absolute, returns it unchanged. Otherwise, joins it with
the working directory.
§Arguments
path - Path to resolve
cwd - Working directory to resolve relative to
§Returns
Absolute path