Skip to main content

Module normalize_entities

Module normalize_entities 

Source
Expand description

Handler for the normalize-entities CLI subcommand (GAP-15).

Scans all existing entity names in the namespace and normalizes them to kebab-case ASCII using crate::parsers::normalize_entity_name. When a normalized name already exists (collision), the source entity is merged into the target using the same logic as merge-entities: relationships are retargeted via UPDATE OR IGNORE + DELETE, then the source row is removed. Otherwise the entity name is updated in place.

Structs§

NormalizeEntitiesArgs

Functions§

run