Skip to main content

resolve_repository_config

Function resolve_repository_config 

Source
pub fn resolve_repository_config(
    checkout_path: &Path,
    workspace: &RepositoryConfig,
) -> Result<EffectiveRepositoryConfig, ConfigError>
Expand description

Resolves workspace, repository-local, auto-detected, and default values in that order.

An explicit empty workspace httpConsumers list suppresses lower-precedence values. Auto-detection never chooses among multiple candidates.

ยงErrors

Returns ConfigError for unreadable or invalid local configuration, empty values, or ambiguous auto-detection.