MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / cleanup

Function cleanup

main.js:7579–7585  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7577 if (totalCount === 0) return 0;
7578 return ((count / totalCount) * 100).toFixed(1);
7579 };
7580
7581 const stlBytes = stlStats ? stlStats.bytes : 0;
7582 const threeMfBytes = threeMfStats ? threeMfStats.bytes : 0;
7583 const otherBytes = otherStats ? otherStats.bytes : 0;
7584 const totalBytes = totalBytesRow ? totalBytesRow.bytes : 0;
7585
7586 return {
7587 totalModels: totalCount,
7588 totalBytes,

Callers 2

onMessageFunction · 0.70
onErrorFunction · 0.70

Calls 1

releasePreview3mfWorkerFunction · 0.85

Tested by

no test coverage detected