MCPcopy Index your code
hub / github.com/scality/cloudserver / createBucket

Function createBucket

tests/unit/api/objectReplicationMD.js:113–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111
112// Create the bucket in metadata.
113function createBucket() {
114 metadata
115 .buckets.set(bucketName, new BucketInfo(bucketName, ownerID, '', ''));
116 metadata.keyMaps.set(bucketName, new Map);
117}
118
119// Create the bucket in metadata with versioning and a replication config.
120function createBucketWithReplication(hasStorageClass) {

Callers 3

bucketCreation.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected