(s)
| 540 | } |
| 541 | |
| 542 | function decodePrettyComponent(s) { |
| 543 | let replacements = {'---': ' - ', '--': '-','-' : ' '} |
| 544 | return decodeURIComponent(s.replace(/-+/g, e => replacements[e] ?? '-')) |
| 545 | } |
| 546 | |
| 547 | function pathToMetadata(path) { |
| 548 | let components = path.substring(1).split("/"); |
no outgoing calls
no test coverage detected