File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,6 +72,13 @@ export type GetDateFromRevisionArguments<Params extends BaseParams> =
7272 rev : string ;
7373 } ;
7474
75+ export type GetHistoriesArguments < Params extends BaseParams > =
76+ & BaseProtocolArguments < Params >
77+ & {
78+ start ?: string ;
79+ end ?: string ;
80+ } ;
81+
7582export type Command = {
7683 command : string ;
7784 args : string [ ] ;
@@ -153,6 +160,12 @@ export abstract class BaseProtocol<Params extends BaseParams> {
153160 return Promise . resolve ( null ) ;
154161 }
155162
163+ getHistories (
164+ _args : GetHistoriesArguments < Params > ,
165+ ) : Promise < string [ ] > {
166+ return Promise . resolve ( [ ] ) ;
167+ }
168+
156169 abstract params ( ) : Params ;
157170}
158171
Original file line number Diff line number Diff line change @@ -952,6 +952,10 @@ getDateFromRevision (function) (Optional)
952952getDiffCommand (function) (Optional)
953953 Called to get updated diff command.
954954
955+ *dpp-protocol-attribute-getHistories*
956+ getHistories (function) (Optional)
957+ Called to get histories.
958+
955959 *dpp-protocol-attribute-getLogCommand*
956960getLogCommand (function) (Optional)
957961 Called to get repository synchronous command.
You can’t perform that action at this time.
0 commit comments