MCPcopy
hub / github.com/triggerdotdev/trigger.dev / pathExists

Function pathExists

packages/cli-v3/src/utilities/fileSystem.ts:24–26  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

22}
23
24export async function pathExists(path: string): Promise<boolean> {
25 return fsSync.existsSync(path);
26}
27
28export async function someFileExists(directory: string, filenames: string[]): Promise<boolean> {
29 for (let index = 0; index < filenames.length; index++) {

Callers 6

createTriggerDirFunction · 0.90
gitIgnoreDotTriggerDirFunction · 0.90
createFileFromTemplateFunction · 0.90
someFileExistsFunction · 0.70
safeFeadJSONFileFunction · 0.70
findPnpmNodeModulesPathFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…