MCPcopy
hub / github.com/scality/cloudserver / cleanup

Function cleanup

tests/unit/helpers.js:207–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205}
206
207function cleanup() {
208 metadata.buckets = new Map;
209 metadata.keyMaps = new Map;
210 // Set data store array back to empty array
211 ds.length = 0;
212 // Set data store key count back to 1
213 resetCount();
214}
215
216class DummyRequestLogger {
217 constructor() {

Callers 15

bucketCreation.jsFile · 0.50
bucket_mem_api.jsFile · 0.50
bucketPutCors.jsFile · 0.50
objectRestore.jsFile · 0.50
objectPut.jsFile · 0.50
listParts.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected