Skip to main content

resolve_file_path

Function resolve_file_path 

Source
fn resolve_file_path(file: &str, base: &Path) -> PathBuf
Expand description

Resolve a file path relative to base_dir.

Absolute paths are returned unchanged. Leading/trailing whitespace is trimmed from file before resolution.