Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/epicweb-dev/full-stack-foundations
/ exists
Function
exists
epicshop/fix.js:261–269 ·
view source on GitHub ↗
(p)
Source
from the content-addressed store, hash-verified
259
}
260
261
function
exists(p) {
262
if
(!p)
return
false
263
try {
264
fs.statSync(p)
265
return
true
266
} catch (error) {
267
return
false
268
}
269
}
270
271
function
isFile(p) {
272
try {
Callers
5
fix.js
File · 0.85
updateTsconfig
Function · 0.85
updateDataDb
Function · 0.85
dirsAreTheSame
Function · 0.85
readDir
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected