MCPcopy Create free account
hub / github.com/epicweb-dev/react-suspense / readDir

Function readDir

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

Source from the content-addressed store, hash-verified

106}
107
108async function readDir(dir) {
109 if (exists(dir)) {
110 return fs.promises.readdir(dir)
111 }
112 return []
113}

Callers 1

fix.jsFile · 0.85

Calls 1

existsFunction · 0.85

Tested by

no test coverage detected