MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / fileSize

Function fileSize

apps/cloud/scripts/assert-worker-bundler-assets.mjs:15–15  ·  view source on GitHub ↗
(dir, name)

Source from the content-addressed store, hash-verified

13};
14
15const fileSize = (dir, name) => statSync(join(dir.pathname, name)).size;
16
17const serverAssets = readdirSync(serverAssetsDir);
18for (const name of serverAssets) {

Calls

no outgoing calls

Tested by

no test coverage detected