Skip to main content

Module normalize

Module normalize 

Source
Expand description

Tag and alias normalization and validation pipeline.

Normalizes tags to lowercase-hyphenated form and detects collisions between normalized variants of existing tags. Also provides validation functions for alias and tag names.

Functionsยง

find_tag_collision
Detect when a normalized tag collides with an existing tag.
normalize_tag
Normalize a tag to lowercase-hyphenated form.
validate_alias_name
Validate an alias name.
validate_tag_name
Validate a tag name after normalization.