Skip to main content

resolve_path

Function resolve_path 

Source
pub fn resolve_path(project_root: &Path, path: &Path) -> PathBuf
Expand description

Resolve a path relative to the project root.

If the path is absolute, returns it unchanged. If relative, joins it with the project root.