mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 23:59:43 +01:00
api - allow to provide a cancellation token to findFiles. Fixes #1553
This commit is contained in:
@@ -213,8 +213,8 @@ export class ExtHostAPIImplementation {
|
||||
asRelativePath: (pathOrUri) => {
|
||||
return pluginHostWorkspace.getRelativePath(pathOrUri);
|
||||
},
|
||||
findFiles: (include, exclude, maxResults?) => {
|
||||
return pluginHostWorkspace.findFiles(include, exclude, maxResults);
|
||||
findFiles: (include, exclude, maxResults?, token?) => {
|
||||
return pluginHostWorkspace.findFiles(include, exclude, maxResults, token);
|
||||
},
|
||||
saveAll: (includeUntitled?) => {
|
||||
return pluginHostWorkspace.saveAll(includeUntitled);
|
||||
|
||||
Reference in New Issue
Block a user