View definition

(*RepositoriesService).ListCommitActivity

Defined in github.com/google/go-github/github/repos_stats.go

Description

ListCommitActivity returns the last year of commit activity grouped by week. The days array is a group of commits per day, starting on Sunday.

If this is the first time these statistics are requested for the given repository, this method will return a non-nil error and a status code of 202. This is because this is the status that github returns to signify that it is now computing the requested statistics. A follow up request, after a delay of a second or so, should result in a successful request.

GitHub API Docs: https://developer.github.com/v3/repos/statistics/#commit-activity

ListCommitActivity is referenced in 1 repository

github.com/google/go-github