defaultable_cli_project_root

Function defaultable_cli_project_root 

Source
pub(crate) fn defaultable_cli_project_root(
    path: &Path,
    db: &Path,
    config_path: Option<&Path>,
    database_path_is_explicit: bool,
) -> Result<PathBuf, CliError>
Expand description

Resolve a CLI repository-root argument, using indexed state for the default ..