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

Method putObject

tests/unit/DummyService.js:94–102  ·  view source on GitHub ↗
(params, callback)

Source from the content-addressed store, hash-verified

92 this.putObject(params, callback);
93 }
94 putObject(params, callback) {
95 const retObj = {
96 ETag: `"${uuidv4().replace(/-/g, '')}"`,
97 };
98 if (this.versioning) {
99 retObj.VersionId = uuidv4().replace(/-/g, '');
100 }
101 return callback(null, retObj);
102 }
103 copyObject(params, callback) {
104 const retObj = {
105 CopyObjectResult: {

Callers 10

uploadMethod · 0.95
load.jsFile · 0.80
arnPrefix.jsFile · 0.80
putEncryptedObjectFunction · 0.80
beforeMigration.jsFile · 0.80
methodFunction · 0.80
websiteGet.jsFile · 0.80
object.jsFile · 0.80
testStreamV4AuthMethod · 0.80

Calls

no outgoing calls

Tested by 1

testStreamV4AuthMethod · 0.64