Commit be622cea authored by Joel Low's avatar Joel Low Committed by Sander van Harmelen

Add the Path filter and All option to the ListCommits API (#389)

* Add the Path filter to the ListCommits API

* Add the `all` option to the ListCommits API
parent 108e358e
......@@ -71,6 +71,8 @@ type ListCommitsOptions struct {
RefName *string `url:"ref_name,omitempty" json:"ref_name,omitempty"`
Since time.Time `url:"since,omitempty" json:"since,omitempty"`
Until time.Time `url:"until,omitempty" json:"until,omitempty"`
Path *string `url:"path,omitempty" json:"path,omitempty"`
All bool `url:"all,omitempty" json:"all,omitempty"`
}
// ListCommits gets a list of repository commits in a project.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment