MCPcopy Create free account
hub / github.com/Cv-Keep/cvkeep-backend / bytesToMB

Function bytesToMB

functions/utils.js:50–52  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

48 },
49
50 bytesToMB(b) {
51 return (b > 0) ? (b / 1024 / 1024).toFixed(2) : 0;
52 },
53
54 arrayUnique(array) {
55 return array.filter((x, i) => i === array.indexOf(x));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected