Skip to main content

check_engine_dirs

Function check_engine_dirs 

Source
pub fn check_engine_dirs(
    data_dir: Option<&Path>,
    env: &[(String, String)],
) -> Result<()>
Expand description

Engine launches have no workspace: judge the data directory and the environment values that name data, home, profile or config directories.

This judges only what it is given. A launch that names no directory passes it, so engine launches go through check_engine_launch, which also refuses a launch with no isolated data directory.