feat: also expose repository.revert() (#145029)

This commit is contained in:
Sebastian Bresin
2022-03-21 13:11:43 +01:00
committed by GitHub
parent 8a0faf9a79
commit 7ed4699079
2 changed files with 5 additions and 0 deletions

View File

@@ -173,6 +173,7 @@ export interface Repository {
getCommit(ref: string): Promise<Commit>;
add(paths: string[]): Promise<void>;
revert(paths: string[]): Promise<void>;
clean(paths: string[]): Promise<void>;
apply(patch: string, reverse?: boolean): Promise<void>;