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

@@ -109,7 +109,7 @@ class RemoteFileSystemProvider implements IFileSystemProvider {
mkdir(resource: URI): TPromise<void, any> {
return this._proxy.$mkdir(this._handle, resource);
}
readdir(resource: URI): TPromise<IStat[], any> {
readdir(resource: URI): TPromise<[URI, IStat][], any> {
return this._proxy.$readdir(this._handle, resource);
}
rmdir(resource: URI): TPromise<void, any> {