Skip to main content

load

Function load 

Source
pub fn load(
    sandbox: &Sandbox,
    root: &RuleRoot,
    config_path: &Path,
) -> Result<Config, ConfigError>
Expand description

Load and validate a configuration.

ยงErrors

Returns ConfigError when the file cannot be read, the module fails to evaluate, or the result is not shaped like a config.