CountUserRepositories returns number of repositories user owns. Argument private only takes effect when it is false, set it true to count all repositories.
(userID int64, private bool)
| 1298 | // Argument private only takes effect when it is false, |
| 1299 | // set it true to count all repositories. |
| 1300 | func CountUserRepositories(userID int64, private bool) int64 { |
| 1301 | return countRepositories(userID, private) |
| 1302 | } |
| 1303 | |
| 1304 | func Repositories(page, pageSize int) (_ []*Repository, err error) { |
| 1305 | repos := make([]*Repository, 0, pageSize) |
no test coverage detected