Skip to main content

resolve_sources

Function resolve_sources 

Source
pub fn resolve_sources(
    sources: &[RuleSource],
    opts: &SourceOptions,
) -> Result<Vec<ResolvedSource>, SourceError>
Expand description

Resolve every configured source to a directory and its provenance.

Sources are validated at config load, so each entry has a git URL or a local path. Git sources are cloned/refreshed under opts.cache_root; local sources must already exist.