IsWatching checks if user has watched given repository.
(userID, repoID int64)
| 2359 | |
| 2360 | // IsWatching checks if user has watched given repository. |
| 2361 | func IsWatching(userID, repoID int64) bool { |
| 2362 | return isWatching(x, userID, repoID) |
| 2363 | } |
| 2364 | |
| 2365 | func watchRepo(e Engine, userID, repoID int64, watch bool) (err error) { |
| 2366 | if watch { |
no test coverage detected