mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 17:48:56 +01:00
Git - remove deprecated extension API (#209010)
This commit is contained in:
@@ -160,10 +160,6 @@ export class ApiRepository implements Repository {
|
||||
return this.repository.diffBetween(ref1, ref2, path);
|
||||
}
|
||||
|
||||
getDiff(): Promise<string[]> {
|
||||
return this.repository.getDiff();
|
||||
}
|
||||
|
||||
hashObject(data: string): Promise<string> {
|
||||
return this.repository.hashObject(data);
|
||||
}
|
||||
|
||||
2
extensions/git/src/api/git.d.ts
vendored
2
extensions/git/src/api/git.d.ts
vendored
@@ -226,8 +226,6 @@ export interface Repository {
|
||||
diffBetween(ref1: string, ref2: string): Promise<Change[]>;
|
||||
diffBetween(ref1: string, ref2: string, path: string): Promise<string>;
|
||||
|
||||
getDiff(): Promise<string[]>;
|
||||
|
||||
hashObject(data: string): Promise<string>;
|
||||
|
||||
createBranch(name: string, checkout: boolean, ref?: string): Promise<void>;
|
||||
|
||||
Reference in New Issue
Block a user