MCPcopy Create free account
hub / github.com/vercel/vercel / getCandidateEntrypointsInDirs

Function getCandidateEntrypointsInDirs

packages/python/src/entrypoint.ts:71–77  ·  view source on GitHub ↗
(dirs: string[])

Source from the content-addressed store, hash-verified

69}
70
71function getCandidateEntrypointsInDirs(dirs: string[]) {
72 return dirs.flatMap((dir: string) =>
73 PYTHON_ENTRYPOINT_FILENAMES.map((filename: string) =>
74 pathPosix.join(dir, `${filename}.py`)
75 )
76 );
77}
78
79async function fileExists(filePath: string): Promise<boolean> {
80 try {

Callers 2

entrypoint.tsFile · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected