Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
cc5224c7
Commit
cc5224c7
authored
Oct 23, 2016
by
griffin-stewie
Committed by
Sander van Harmelen
Oct 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add params on list repo commits (#87)
* add parameters “since” and “until” * update API Docs URL
parent
10146017
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
commits.go
commits.go
+3
-1
No files found.
commits.go
View file @
cc5224c7
...
...
@@ -52,10 +52,12 @@ func (c Commit) String() string {
// ListCommitsOptions represents the available ListCommits() options.
//
// GitLab API docs: http
://doc.gitlab.com/ce/api/commits.html#list
-commits
// GitLab API docs: http
s://docs.gitlab.com/ce/api/commits.html#list-repository
-commits
type
ListCommitsOptions
struct
{
ListOptions
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"`
}
// ListCommits gets a list of repository commits in a project.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment