Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
108
async
function
readDir(dir) {
109
if
(exists(dir)) {
110
return
fs.promises.readdir(dir)
111
}
112
return
[]
113
}
Callers
1
fix.js
File · 0.85
Calls
1
exists
Function · 0.85
Tested by
no test coverage detected