MCPcopy Create free account
hub / github.com/facebook/pyrefly / getInterpreterPath

Method getInterpreterPath

lsp/src/python-environment.ts:139–145  ·  view source on GitHub ↗
(uri?: vscode.Uri)

Source from the content-addressed store, hash-verified

137 }
138
139 async getInterpreterPath(uri?: vscode.Uri): Promise<string | undefined> {
140 const provider = await this.provider;
141 if (!provider) {
142 return undefined;
143 }
144 return provider.getPath(uri);
145 }
146
147 async onDidChangeInterpreter(
148 callback: () => void,

Callers 3

overridePythonPathFunction · 0.80
runMainFileFunction · 0.80
runTestAtLocationFunction · 0.80

Calls 1

getPathMethod · 0.65

Tested by

no test coverage detected