MCPcopy
hub / github.com/GooseMod/OpenAsar / resetTracking

Function resetTracking

src/updater/moduleUpdater.js:25–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 last;
24
25const resetTracking = () => {
26 const base = {
27 done: 0,
28 total: 0,
29 fail: 0
30 };
31
32 downloading = Object.assign({}, base);
33 installing = Object.assign({}, base);
34};
35
36const req = url => new Promise(res => get(url, r => { // Minimal wrapper around https.get to include body
37 let dat = '';

Callers 2

moduleUpdater.jsFile · 0.85
finishInstallFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected