* Check if file exists in cache (regardless of hash)
(filePath: string)
| 349 | * Check if file exists in cache (regardless of hash) |
| 350 | */ |
| 351 | async isFileCached(filePath: string): Promise<boolean> { |
| 352 | await this.initPromise; |
| 353 | const normalizedPath = this.toRelativePath(filePath); |
| 354 | return normalizedPath in this.files; |
| 355 | } |
| 356 | |
| 357 | /** |
| 358 | * Get cached file data |
no test coverage detected