pub fn scope_dir(scope: Scope, cwd: &Path, agent_dir: &Path) -> PathBuf
The directory a scope’s packages and relative settings paths use: the agent directory for the user, the project’s config directory otherwise.