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 d8907b7 commit 77fc9dcCopy full SHA for 77fc9dc
src/client/pythonEnvironments/discovery/locators/index.ts
@@ -30,6 +30,19 @@ import { GetInterpreterLocatorOptions } from './types';
30
// tslint:disable-next-line:no-require-imports no-var-requires
31
const flatten = require('lodash/flatten') as typeof import('lodash/flatten');
32
33
+/**
34
+ * A wrapper around all locators used by the extension.
35
+ */
36
+export class ExtensionLocators extends Locators {
37
+ constructor(
38
+ // These are all wrapped up together.
39
+ nonWorkspace: ILocator[],
40
+ workspace: ILocator
41
+ ) {
42
+ super([...nonWorkspace, workspace]);
43
+ }
44
+}
45
+
46
type WorkspaceLocatorFactory = (root: Uri) => ILocator[];
47
48
interface IWorkspaceFolders {
0 commit comments