(params, callback)
| 101 | return callback(null, retObj); |
| 102 | } |
| 103 | copyObject(params, callback) { |
| 104 | const retObj = { |
| 105 | CopyObjectResult: { |
| 106 | ETag: `"${uuidv4().replace(/-/g, '')}"`, |
| 107 | LastModified: new Date().toISOString(), |
| 108 | }, |
| 109 | VersionId: null, |
| 110 | }; |
| 111 | if (this.versioning) { |
| 112 | retObj.VersionId = uuidv4().replace(/-/g, ''); |
| 113 | } |
| 114 | return callback(null, retObj); |
| 115 | } |
| 116 | // To-Do: add tests for other methods |
| 117 | } |
| 118 |
no outgoing calls
no test coverage detected