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

Function isDiscontinued

packages/python/src/version.ts:324–327  ·  view source on GitHub ↗
({ discontinueDate }: PythonVersion)

Source from the content-addressed store, hash-verified

322}
323
324function isDiscontinued({ discontinueDate }: PythonVersion): boolean {
325 const today = Date.now();
326 return discontinueDate !== undefined && discontinueDate.getTime() <= today;
327}
328
329// Cache for installed Python versions to avoid repeated calls
330let installedPythonsCache: Set<string> | null = null;

Callers 2

getAvailablePythonBuildsFunction · 0.85
resolvePythonVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected