(path: string)
| 39 | Markdown: '#a3b2bf', JSON: '#b7bfaa', YAML: '#c3afb0', TOML: '#bbaea2', Unknown: '#81939e', |
| 40 | }; |
| 41 | const pathKey = (path: string) => path.replaceAll('\\', '/').replace(/^\.\//, '').replace(/\/+/g, '/'); |
| 42 | const compare = (a: string, b: string) => a < b ? -1 : a > b ? 1 : 0; |
| 43 | |
| 44 | /** File-type classification, not a claim that an embedded language was parsed. */ |
no outgoing calls
no test coverage detected