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

Function deleteBucket

tests/sur/quota.js:79–83  ·  view source on GitHub ↗
(bucket, cb)

Source from the content-addressed store, hash-verified

77}
78
79function deleteBucket(bucket, cb) {
80 return s3Client.send(new DeleteBucketCommand({ Bucket: bucket }))
81 .then(data => cb(null, data))
82 .catch(cb);
83}
84
85function putObject(bucket, key, size, cb) {
86 return s3Client.send(new PutObjectCommand({

Callers 1

quota.jsFile · 0.70

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected