Module path_norm

Module path_norm 

Source
Expand description

Filesystem path strings as stored in SQLite: shorter keys on macOS.

Functionsยง

normalize_path_for_db
Strips the synthetic /System/Volumes/Data prefix when present so stored paths match user-visible paths and use fewer bytes in row data and FTS5 indexes. Matches traversal dedup in audio_scanner, unified_walker, etc.
path_strings_json_normalized
JSON array of path strings, each passed through normalize_path_for_db.