Skip to main content

validate_workspace_scope

Function validate_workspace_scope 

Source
pub fn validate_workspace_scope(
    requested: &Path,
    workspace_root: &Path,
) -> Result<PathBuf, String>
Expand description

Ensure path is the workspace root or a subdirectory of it (after canonicalization).