()
| 2748 | // common-extension config exists, so defer importing it until then. |
| 2749 | let exoticExtensions: string[] | undefined; |
| 2750 | const getExoticExtensions = async () => { |
| 2751 | if (typeof exoticExtensions === "undefined") { |
| 2752 | const interpret = await import("interpret"); |
| 2753 | const common = new Set(commonExtensions); |
| 2754 | |
| 2755 | exoticExtensions = Object.keys(interpret.extensions).filter((ext) => !common.has(ext)); |
| 2756 | } |
| 2757 | |
| 2758 | return exoticExtensions; |
| 2759 | }; |
| 2760 | |
| 2761 | const directoryEntriesCache = new Map<string, Set<string> | null>(); |
| 2762 | const readDirectoryEntries = async (directory: string) => { |
nothing calls this directly
no outgoing calls
no test coverage detected