(segment: string)
| 9 | } |
| 10 | |
| 11 | function normalizeDisplaySegment(segment: string): string { |
| 12 | return segment.normalize('NFC').trim().replace(CONTROL_CHARS, '').replace(WHITESPACE, ' ') |
| 13 | } |
| 14 | |
| 15 | export function encodeVfsSegment(segment: string): string { |
| 16 | const normalized = normalizeDisplaySegment(segment) |
no test coverage detected