MCPcopy
hub / github.com/scality/cloudserver / getObject

Function getObject

tests/utapi/awsNodeSdk.js:179–183  ·  view source on GitHub ↗
(bucket, key, cb)

Source from the content-addressed store, hash-verified

177}
178
179function getObject(bucket, key, cb) {
180 s3Client.send(new GetObjectCommand({ Bucket: bucket, Key: key }))
181 .then(data => cb(null, data))
182 .catch(cb);
183}
184
185describe('utapi v2 metrics incoming and outgoing bytes', function t() {
186 this.timeout(30000);

Callers 1

awsNodeSdk.jsFile · 0.70

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected