pub fn node_id_from_rel_path(rel_path: &Path) -> StringExpand description
Build a stable node id from a workspace-relative file path.
Rules:
- strip extension
- lowercase
- normalize path separators to
/ - collapse
//, reject parent-dir escapes - replace whitespace runs with
-