(content: string | Blob)
| 38 | } |
| 39 | |
| 40 | async write(content: string | Blob): Promise<void> { |
| 41 | const data = content instanceof Blob ? await content.arrayBuffer() : content; |
| 42 | const resp = await this.client.putFileContents(this.path, data); |
| 43 | if (!resp) { |
| 44 | throw new Error("write error"); |
| 45 | } |
| 46 | } |
| 47 | } |
nothing calls this directly
no test coverage detected