mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-28 21:55:54 +00:00
🔨 change how ids work in scm providers. remove drag
This commit is contained in:
@@ -60,14 +60,6 @@ class MainThreadSCMProvider implements ISCMProvider {
|
||||
return this.proxy.$acceptChanges(this.id);
|
||||
}
|
||||
|
||||
drag(from: ISCMResource, to: ISCMResourceGroup): TPromise<void> {
|
||||
if (!this.features.supportsDrag) {
|
||||
return TPromise.as(null);
|
||||
}
|
||||
|
||||
return this.proxy.$drag(this.id, from.resourceGroupId, from.uri.toString(), to.id);
|
||||
}
|
||||
|
||||
getOriginalResource(uri: URI): TPromise<URI> {
|
||||
if (!this.features.supportsOriginalResource) {
|
||||
return TPromise.as(null);
|
||||
|
||||
Reference in New Issue
Block a user