(e Engine, userID, repoID int64)
| 2353 | } |
| 2354 | |
| 2355 | func isWatching(e Engine, userID, repoID int64) bool { |
| 2356 | has, _ := e.Get(&Watch{0, userID, repoID}) |
| 2357 | return has |
| 2358 | } |
| 2359 | |
| 2360 | // IsWatching checks if user has watched given repository. |
| 2361 | func IsWatching(userID, repoID int64) bool { |
no test coverage detected