GetRepositoryByID returns the repository by given id if exists.
(id int64)
| 1805 | |
| 1806 | // GetRepositoryByID returns the repository by given id if exists. |
| 1807 | func GetRepositoryByID(id int64) (*Repository, error) { |
| 1808 | return getRepositoryByID(x, id) |
| 1809 | } |
| 1810 | |
| 1811 | type UserRepoOptions struct { |
| 1812 | UserID int64 |
no test coverage detected