Skip to main content

scan_from_config

Function scan_from_config 

Source
pub fn scan_from_config(
    pkg_name: &str,
    toml_dir: &Path,
    config: &WeslToml,
) -> Result<ScanResult, TomlError>
Expand description

Scan files based on a WeslToml and build a Module hierarchy.

This is the main entry point called by PackageBuilder::scan_toml.