Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    registry_include: &[String],
    registry_exclude: &[String],
    declared: Option<&GateFilters>,
    flag_include: &[String],
    flag_exclude: &[String],
    reserved: &[String],
) -> Result<PathFilter, ConfigError>
Expand description

Build one gate’s filter from every layer.

registry_include and registry_exclude arrive already templated against the instance’s documentation root, because the root is the caller’s to resolve.

§Errors

ConfigError::Pattern naming the pattern the grammar refuses.