mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
ExtHostFileSystemShape, #40169
This commit is contained in:
@@ -123,7 +123,9 @@ class RemoteFileSystemProvider implements IFileSystemProvider, ISearchResultProv
|
||||
return this._proxy.$mkdir(this._handle, resource);
|
||||
}
|
||||
readdir(resource: URI): TPromise<[URI, IStat][], any> {
|
||||
return this._proxy.$readdir(this._handle, resource);
|
||||
return this._proxy.$readdir(this._handle, resource).then(data => {
|
||||
return data.map(tuple => <[URI, IStat]>[URI.revive(tuple[0]), tuple[1]]);
|
||||
});
|
||||
}
|
||||
rmdir(resource: URI): TPromise<void, any> {
|
||||
return this._proxy.$rmdir(this._handle, resource);
|
||||
|
||||
Reference in New Issue
Block a user