MCPcopy
hub / github.com/browserless/browserless / countDataDirs

Function countDataDirs

scripts/leak-check.js:182–183  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

180];
181
182const countDataDirs = async (dir) =>
183 (await readdir(dir).catch(() => [])).length;
184
185const internals = (browserless) => {
186 // Protected fields are reachable at runtime; this is a dev-only check

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected