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

Function detectEntrypoint

packages/go/src/entrypoint.ts:44–48  ·  view source on GitHub ↗
({ workPath })

Source from the content-addressed store, hash-verified

42 * by services auto-detection.
43 */
44export const detectEntrypoint: DetectEntrypointFn = async ({ workPath }) => {
45 const file = await detectGoEntrypoint(workPath);
46 if (!file) return null;
47 return { kind: 'file', entrypoint: file };
48};

Callers 2

createDetectEntrypointFunction · 0.50

Calls 1

detectGoEntrypointFunction · 0.85

Tested by

no test coverage detected