Skip to main content

expand_includes

Function expand_includes 

Source
pub fn expand_includes(
    cfg: Config,
    base_dir: &Path,
) -> Result<Config, IncludeError>
Expand description

Expand the include list in an already-parsed cfg, resolving patterns relative to base_dir.

base_dir should be the directory of the file that produced cfg. The returned Config has its include field cleared.