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

Function getMetadata

lib/routes/routeBackbeat.js:995–1000  ·  view source on GitHub ↗
(request, response, bucketInfo, objectMd, log, cb)

Source from the content-addressed store, hash-verified

993}
994
995function getMetadata(request, response, bucketInfo, objectMd, log, cb) {
996 if (!objectMd) {
997 return cb(errors.ObjNotFound);
998 }
999 return _respond(response, { Body: JSON.stringify(objectMd) }, log, cb);
1000}
1001
1002function initiateMultipartUpload(request, response, log, callback) {
1003 const err = _checkMultipleBackendRequest(request, log);

Callers

nothing calls this directly

Calls 1

_respondFunction · 0.85

Tested by

no test coverage detected