remove old forUris, rename forUris2 to forUris, https://github.com/microsoft/vscode/issues/110241

This commit is contained in:
Johannes Rieken
2020-11-11 08:43:08 +01:00
parent 7a322c44db
commit 31c034604e
9 changed files with 15 additions and 24 deletions

View File

@@ -127,7 +127,7 @@ class ExtHostWorkspaceImpl extends Workspace {
constructor(id: string, private _name: string, folders: vscode.WorkspaceFolder[], configuration: URI | null, private _isUntitled: boolean, ignorePathCasing: (key: URI) => boolean) {
super(id, folders.map(f => new WorkspaceFolder(f)), configuration, ignorePathCasing);
this._structure = TernarySearchTree.forUris2<vscode.WorkspaceFolder>(ignorePathCasing);
this._structure = TernarySearchTree.forUris<vscode.WorkspaceFolder>(ignorePathCasing);
// setup the workspace folder data structure
folders.forEach(folder => {