(directoryName: string)
| 263 | ): RequiredDelegations<ts.ModuleResolutionHost> { |
| 264 | return { |
| 265 | directoryExists(directoryName: string): boolean { |
| 266 | if (directoryName.includes(RESOURCE_MARKER)) { |
| 267 | return false; |
| 268 | } else if (adapter.directoryExists !== undefined) { |
| 269 | return adapter.directoryExists(directoryName); |
| 270 | } else { |
| 271 | // TypeScript's module resolution logic assumes that the directory exists when no host |
| 272 | // implementation is available. |
| 273 | return true; |
| 274 | } |
| 275 | }, |
| 276 | fileExists(fileName: string): boolean { |
| 277 | if (fileName.includes(RESOURCE_MARKER)) { |
| 278 | return false; |
nothing calls this directly
no test coverage detected
searching dependent graphs…