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