Github.Filter
The Filter
module contains types used by search and enumeration interfaces which describe ways to perform result filtering directly in the GitHub API.
state
is the activation state of a pull request, milestone, or issue. See Pull.for_repo
, Milestone.for_repo
, and Issue.for_repo
.
milestone_sort
is the field by which to sort a collection of milestones. See Milestone.for_repo
.
issue_sort
is the field by which to sort a collection of issues. See Issue.for_repo
.
issue_comment_sort
is the field by which to sort a collection of issue comments. See Issue.comments_for_repo
.
repo_sort
is the field by which to sort a collection of repositories. See Search.repos
.
forks_sort
is the bias used when sorting a collection of forks. See Repo.forks
.
milestone
is the filter predicate for issues. See Issue.for_repo
.
user
is the filter predicate for issues. See Issue.for_repo
.
type 'a range = [
| `Range of 'a option * 'a option |
| `Lt of 'a |
| `Lte of 'a |
| `Eq of 'a |
| `Gte of 'a |
| `Gt of 'a |
]
'a range
is the type of range expressions in search queries. `Range
is inclusive. See qualifier
.
repo_field
is a repository search field selector. See `In
in qualifier
.
type issue_qualifier = [
| `Author of string |
| `Assignee of string |
| `Mentions of string |
| `Commenter of string |
| `Involves of string |
| `Team of string |
| `Label of string |
| `Without_label of string |
| `Language of string |
| `Created of date range |
| `Updated of date range |
| `Merged of date range |
| `Closed of date range |
| `User of string |
| `Repo of string |
| `Project of string |
]
issue_qualifier
is the type of issue search query predicates.