pub fn normalize_for_key(path: &Path) -> StringExpand description
Normalize a path into a stable string key for hashing and comparisons.
This is the shared representation for path-based cache keys. It avoids filesystem access, strips Windows extended-length prefixes, normalizes separators, and folds case on case-insensitive platforms.