(absolutePath, content)
| 21812 | return this.inMemoryFiles[absolutePath] !== undefined |
| 21813 | } |
| 21814 | async write(absolutePath, content) { |
| 21815 | if (isUrl(absolutePath)) { |
| 21816 | throw new Error("Cannot write to URL") |
| 21817 | } |
| 21818 | this.inMemoryFiles[absolutePath] = content |
| 21819 | } |
| 21820 | async list(absolutePath) { |
| 21821 | if (isUrl(absolutePath)) { |
| 21822 | return [] |