MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / getCondaFile

Function getCondaFile

src/test/interpreters/condaService.node.ts:78–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76
77let foundCondaFile: string | undefined;
78export async function getCondaFile() {
79 if (process.env.CI_PYTHON_CONDA_PATH) {
80 return process.env.CI_PYTHON_CONDA_PATH as string;
81 }
82 if (foundCondaFile) {
83 return foundCondaFile;
84 }
85 foundCondaFile = await getCondaFileFromKnownLocations();
86 return foundCondaFile;
87}
88
89let condaInfo: CondaInfo | undefined;
90async function getCondaInfo(): Promise<CondaInfo | undefined> {

Callers 5

getPythonCliFunction · 0.90
getCondaInfoFunction · 0.85
getCondaVersionFunction · 0.85
getCondaEnvironmentsFunction · 0.85

Calls 1

Tested by

no test coverage detected