Add a pattern to the git BranchQuery (#99681)

* Add a pattern to the git BranchQuery

* Add count, which makes getting refs even faster

* Update order of args in getRefs to match for-each-ref doc
This commit is contained in:
Alex Ross
2020-06-10 13:51:00 +02:00
committed by GitHub
parent 12b634ec05
commit 92164dd93d
2 changed files with 15 additions and 3 deletions

View File

@@ -134,6 +134,8 @@ export interface CommitOptions {
export interface BranchQuery {
readonly remote?: boolean;
readonly pattern?: string;
readonly count?: number;
readonly contains?: string;
}