Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
182
const
countDataDirs =
async
(dir) =>
183
(
await
readdir(dir).catch(() => [])).length;
184
185
const
internals = (browserless) => {
186
// Protected fields are reachable at runtime; this is a dev-only check
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected