MCPcopy
hub / github.com/TTLabs/EvaporateJS / cleanUpAfterPart

Function cleanUpAfterPart

evaporate.js:685–690  ·  view source on GitHub ↗
(s3Part)

Source from the content-addressed store, hash-verified

683 var self = this;
684
685 function cleanUpAfterPart(s3Part) {
686 removeAtIndex(self.partsToUpload, s3Part.partNumber);
687 removeAtIndex(self.partsInProcess, s3Part.partNumber);
688
689 if (self.partsToUpload.length) { self.evaporatingCnt(-1); }
690 }
691
692 function resolve(s3Part) { return function () {
693 cleanUpAfterPart(s3Part);

Callers 2

resolveFunction · 0.85
rejectFunction · 0.85

Calls 1

removeAtIndexFunction · 0.85

Tested by

no test coverage detected