MCPcopy Create free account
hub / github.com/Noumena-Network/code / fileExists

Function fileExists

scripts/generate_slash_command_appendix.mjs:241–248  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

239}
240
241async function fileExists(filePath) {
242 try {
243 await fs.access(filePath)
244 return true
245 } catch {
246 return false
247 }
248}
249
250async function resolveExistingCommandModule(specifier) {
251 for (const candidate of resolveCommandModule(specifier)) {

Callers 4

collectDynamicSystemRowsFunction · 0.70
runRuntimeDynamicProbeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected