mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-24 08:15:51 +01:00
label for recent
This commit is contained in:
@@ -37,6 +37,9 @@ export class WorkspacesChannel implements IServerChannel {
|
||||
const w: IWorkspaceIdentifier = arg;
|
||||
return this.service.deleteUntitledWorkspace({ id: w.id, configPath: URI.revive(w.configPath) });
|
||||
}
|
||||
case 'getWorkspaceIdentifier': {
|
||||
return this.service.getWorkspaceIdentifier(URI.revive(arg));
|
||||
}
|
||||
}
|
||||
|
||||
throw new Error(`Call not found: ${command}`);
|
||||
@@ -56,4 +59,8 @@ export class WorkspacesChannelClient implements IWorkspacesService {
|
||||
deleteUntitledWorkspace(workspaceIdentifier: IWorkspaceIdentifier): Promise<void> {
|
||||
return this.channel.call('deleteUntitledWorkspace', workspaceIdentifier);
|
||||
}
|
||||
|
||||
getWorkspaceIdentifier(configPath: URI): Promise<IWorkspaceIdentifier> {
|
||||
return this.channel.call('getWorkspaceIdentifier', configPath);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user