(path: string)
| 92 | } |
| 93 | |
| 94 | async delete(path: string): Promise<void> { |
| 95 | try { |
| 96 | await this.client.deleteFile(joinPath(this.basePath, path)); |
| 97 | } catch (e: any) { |
| 98 | if (e.response?.status === 404 || e.message?.includes("404")) { |
| 99 | return; |
| 100 | } |
| 101 | throw e; |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | async list(): Promise<FileInfo[]> { |
| 106 | let dir: FileStat[]; |
nothing calls this directly
no test coverage detected