Skip to main content

safe_project_data_dir

Function safe_project_data_dir 

Source
pub fn safe_project_data_dir(project_root: &Path) -> Result<PathBuf, String>
Expand description

Returns the project-scoped .lean-ctx/ directory if the project root is safe. Returns Err if the project root collides with the global data directory.