mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
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:
@@ -66,7 +66,7 @@ export class ExtHostFileSystem implements ExtHostFileSystemShape {
|
||||
$mkdir(handle: number, resource: URI): TPromise<void, any> {
|
||||
return TPromise.as<any>(this._provider.get(handle).mkdir(resource));
|
||||
}
|
||||
$readdir(handle: number, resource: URI): TPromise<IStat[], any> {
|
||||
$readdir(handle: number, resource: URI): TPromise<[URI, IStat][], any> {
|
||||
return TPromise.as<any>(this._provider.get(handle).readdir(resource));
|
||||
}
|
||||
$rmdir(handle: number, resource: URI): TPromise<void, any> {
|
||||
|
||||
Reference in New Issue
Block a user