File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,10 @@ export class ApiRepository implements Repository {
108108 return this . _repository . add ( paths . map ( p => Uri . file ( p ) ) ) ;
109109 }
110110
111+ revert ( paths : string [ ] ) {
112+ return this . _repository . revert ( paths . map ( p => Uri . file ( p ) ) ) ;
113+ }
114+
111115 clean ( paths : string [ ] ) {
112116 return this . _repository . clean ( paths . map ( p => Uri . file ( p ) ) ) ;
113117 }
Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ export interface Repository {
173173 getCommit ( ref : string ) : Promise < Commit > ;
174174
175175 add ( paths : string [ ] ) : Promise < void > ;
176+ revert ( paths : string [ ] ) : Promise < void > ;
176177 clean ( paths : string [ ] ) : Promise < void > ;
177178
178179 apply ( patch : string , reverse ?: boolean ) : Promise < void > ;
You can’t perform that action at this time.
0 commit comments