MCPcopy Create free account
hub / github.com/scality/cloudserver / objectLegalHoldXml

Function objectLegalHoldXml

tests/unit/api/objectPutLegalHold.js:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}, postBody);
32
33const objectLegalHoldXml = status => '<LegalHold ' +
34 'xmlns="http://s3.amazonaws.com/doc/2006-03-01/">' +
35 `<Status>${status}</Status>` +
36 '</LegalHold>';
37
38const putLegalHoldReq = status => ({
39 bucketName,

Callers 1

putLegalHoldReqFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected