Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidWells/analytics
/ fileExists
Function
fileExists
site/sync.js:37–37 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
35
}
36
37
const
fileExists = (s) => fs.access(s, constants.F_OK).then(() => true).catch(() => false)
38
39
async
function
getFiles() {
40
const
topLevelPackages = [`${PACKAGE_PATH}/*/package.json`]
Callers
1
getFiles
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected