(absolutePath)
| 21805 | return await this.read(absolutePath) |
| 21806 | } |
| 21807 | async exists(absolutePath) { |
| 21808 | if (isUrl(absolutePath)) { |
| 21809 | const result = await fetchWithCache(absolutePath) |
| 21810 | return result.exists |
| 21811 | } |
| 21812 | return this.inMemoryFiles[absolutePath] !== undefined |
| 21813 | } |
| 21814 | async write(absolutePath, content) { |
| 21815 | if (isUrl(absolutePath)) { |
| 21816 | throw new Error("Cannot write to URL") |
nothing calls this directly
no test coverage detected