validate_project_path

Function validate_project_path 

Source
pub fn validate_project_path(name: &str) -> Result<()>
Expand description

Validate that a path does not escape the current working directory.

Used for zernel init to prevent creating projects in arbitrary locations.