Skip to main content

validate_module

Function validate_module 

Source
pub fn validate_module(
    module_repo: &(impl DomainModuleRepository + ?Sized),
    ito_path: &Path,
    module_input: &str,
    strict: bool,
) -> CoreResult<(String, ValidationReport)>
Expand description

Validate a module’s module.md for minimal required sections.

Also validates all sub-modules under the module: each sub/SS_name/ directory must have a valid module.md with a Purpose section.

Returns the resolved module directory name along with the report.