Function get_tools_dir

Source
pub fn get_tools_dir(
    project: &Path,
    no_system_cache: bool,
) -> Result<PathBuf, InstallError>
Expand description

Gets the directory to store tools in. This will preferentially use the system-wide cache, falling back to a local version.

If the user specifies that we’re running on CI, we’ll use the local version regardless.