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

Function genGetTagObj

tests/functional/raw-node/utils/gcpUtils.js:168–179  ·  view source on GitHub ↗
(size, tagPrefix)

Source from the content-addressed store, hash-verified

166}
167
168function genGetTagObj(size, tagPrefix) {
169 const retObj = {};
170 const expectedTagObj = [];
171 for (let i = 1; i <= size; ++i) {
172 retObj[`${tagPrefix}testtag${i}`] = `testtag${i}`;
173 expectedTagObj.push({
174 Key: `testtag${i}`,
175 Value: `testtag${i}`,
176 });
177 }
178 return { tagHeader: retObj, expectedTagObj };
179}
180
181function genDelTagObj(size, tagPrefix) {
182 const headers = {};

Callers 1

tagging.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected