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

Function parse

packages/python-analysis/src/manifest/python-specifiers.ts:42–49  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

40 },
41
42 parse(s: string): PythonImplementation {
43 const impl = this.knownNames()[s];
44 if (impl !== undefined) {
45 return impl;
46 } else {
47 return { implementation: s };
48 }
49 },
50
51 isUnknown(impl: PythonImplementation): impl is UnknownPythonImplementation {
52 return (impl as UnknownPythonImplementation).implementation !== undefined;

Callers 1

defaultShouldServeFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected