MCPcopy
hub / github.com/epicweb-dev/react-performance / readDir

Function readDir

epicshop/fix.js:129–134  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

127}
128
129async function readDir(dir) {
130 if (exists(dir)) {
131 return fs.promises.readdir(dir)
132 }
133 return []
134}

Callers 1

fix.jsFile · 0.85

Calls 1

existsFunction · 0.85

Tested by

no test coverage detected