Skip to main content

validate_path

Function validate_path 

Source
pub fn validate_path(project_root: &Path, file_path: &str) -> AppResult<PathBuf>
Expand description

Validates that an existing path is inside the project root and returns its canonical form.