Skip to main content

validate_strict

Function validate_strict 

Source
pub fn validate_strict(
    raw_bytes: &str,
    entity: &Entity,
    schema: &TypeDefinition,
    path: &str,
) -> Result<(), ValidationError>
Expand description

Run every strict check against one entity. raw_bytes is the archive’s markdown bytes for this entity (pre-canonicalization, so line endings may still be CRLF and a BOM may still be leading).