(key: string)
| 63 | } |
| 64 | |
| 65 | override async getInternal(key: string): Promise<GetResult> { |
| 66 | try { |
| 67 | return await this.s3.get(key, this.path); |
| 68 | } catch (e) { |
| 69 | this.onError(e, 'read'); |
| 70 | return {hit: false}; |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | override async putInternal(key: string, value: Buffer, creator?: string): Promise<void> { |
| 75 | const options: S3HandlerOptions = { |