support findFiles

This commit is contained in:
Johannes Rieken
2017-10-10 12:20:38 +02:00
parent 0b03de632a
commit 51b0bf3c78
4 changed files with 65 additions and 7 deletions

View File

@@ -324,6 +324,8 @@ export interface MainThreadFileSystemShape extends IDisposable {
$onDidAddFileSystemRoot(root: URI): void;
$onFileSystemChange(handle: number, resource: IFileChange[]): void;
$reportFileChunk(handle: number, resource: URI, chunk: number[] | null): void;
$handleSearchProgress(handle: number, session: number, resource: URI): void;
}
export interface MainThreadTaskShape extends IDisposable {
@@ -489,6 +491,7 @@ export interface ExtHostFileSystemShape {
$mkdir(handle: number, resource: URI): TPromise<IStat>;
$readdir(handle: number, resource: URI): TPromise<[URI, IStat][]>;
$rmdir(handle: number, resource: URI): TPromise<void>;
$fileFiles(handle: number, session: number, query: string): TPromise<void>;
}
export interface ExtHostExtensionServiceShape {