Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
33
const
objectLegalHoldXml = status =>
'<LegalHold '
+
34
'xmlns="http://s3.amazonaws.com/doc/2006-03-01/">'
+
35
`<Status>${status}</Status>` +
36
'</LegalHold>'
;
37
38
const
putLegalHoldReq = status => ({
39
bucketName,
Callers
1
putLegalHoldReq
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected