({ discontinueDate }: PythonVersion)
| 322 | } |
| 323 | |
| 324 | function 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 |
| 330 | let installedPythonsCache: Set<string> | null = null; |
no outgoing calls
no test coverage detected