add id to FileStat and remove resource, make readdir return tuples, sketch up error codes, add todos on the API

This commit is contained in:
Johannes Rieken
2017-09-21 12:17:52 +02:00
parent 0c29dc72ca
commit 4855cf0643
6 changed files with 110 additions and 30 deletions

View File

@@ -486,7 +486,7 @@ export interface ExtHostFileSystemShape {
$unlink(handle: number, resource: URI): TPromise<void>;
$rename(handle: number, resource: URI, target: URI): TPromise<void>;
$mkdir(handle: number, resource: URI): TPromise<void>;
$readdir(handle: number, resource: URI): TPromise<IStat[]>;
$readdir(handle: number, resource: URI): TPromise<[URI, IStat][]>;
$rmdir(handle: number, resource: URI): TPromise<void>;
}