MCPcopy 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
37const fileExists = (s) => fs.access(s, constants.F_OK).then(() => true).catch(() => false)
38
39async function getFiles() {
40 const topLevelPackages = [`${PACKAGE_PATH}/*/package.json`]

Callers 1

getFilesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected