Skip to main content

Module tree

Module tree 

Source
Expand description

Validation rules for the module file tree.

These checks complement Hasher by validating structural rules that span the whole tree rather than any single path. Per-path validity is already a guarantee of RelativePath; this module only enforces the cross-path rules: reserved filename placement and uniqueness under Unicode Normalization Form C.

Enums§

TreeError
An error reported by validate_tree.

Functions§

validate_tree
Validates the cross-path rules of a module file tree.