MCPcopy Index your code
hub / github.com/epicweb-dev/advanced-react-patterns / readDir

Function readDir

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

Source from the content-addressed store, hash-verified

109}
110
111async function readDir(dir) {
112 if (exists(dir)) {
113 return fs.promises.readdir(dir)
114 }
115 return []
116}

Callers 1

fix.jsFile · 0.85

Calls 1

existsFunction · 0.85

Tested by

no test coverage detected