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

Function buildHeadXML

lib/routes/veeam/utils.js:77–79  ·  view source on GitHub ↗

* Builds a valid XML file for SOSAPI * * @param {string} xmlContent - valid xml content * @returns {string} a valid and formatted XML file

(xmlContent)

Source from the content-addressed store, hash-verified

75 * @returns {string} a valid and formatted XML file
76 */
77function buildHeadXML(xmlContent) {
78 return `<?xml version="1.0" encoding="UTF-8" ?>\n${xmlContent}\n`;
79}
80
81/**
82 * Get response headers for the object

Callers 2

buildXMLFunction · 0.85
getVeeamFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected