MCPcopy Create free account
hub / github.com/AdbAutoPlayer/AdbAutoPlayer / isDir

Function isDir

scripts/bundle-templates.cjs:15–16  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

13
14// Helper to check if a directory exists
15const isDir = (source) =>
16 fs.existsSync(source) && fs.lstatSync(source).isDirectory();
17
18// Scan all games
19const games = fs.readdirSync(GAMES_DIR).filter((game) => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected