We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 545209b commit 2a1d13cCopy full SHA for 2a1d13c
src/client/pythonEnvironments/discovery/locators/index.ts
@@ -28,6 +28,19 @@ import { GetInterpreterLocatorOptions } from './types';
28
// tslint:disable-next-line:no-require-imports no-var-requires
29
const flatten = require('lodash/flatten') as typeof import('lodash/flatten');
30
31
+/**
32
+ * A wrapper around all locators used by the extension.
33
+ */
34
+export class ExtensionLocators extends Locators {
35
+ constructor(
36
+ // These are all wrapped up together.
37
+ nonWorkspace: ILocator[],
38
+ workspace: ILocator
39
+ ) {
40
+ super([...nonWorkspace, workspace]);
41
+ }
42
+}
43
+
44
type WorkspaceLocatorFactory = (root: Uri) => ILocator[];
45
46
interface IWorkspaceFolders {
0 commit comments