Watch or unwatch repository. Deprecated: Use Watches.Watch instead.
(userID, repoID int64, watch bool)
| 2387 | // |
| 2388 | // Deprecated: Use Watches.Watch instead. |
| 2389 | func WatchRepo(userID, repoID int64, watch bool) (err error) { |
| 2390 | return watchRepo(x, userID, repoID, watch) |
| 2391 | } |
| 2392 | |
| 2393 | // Deprecated: Use Repos.ListByRepo instead. |
| 2394 | func getWatchers(e Engine, repoID int64) ([]*Watch, error) { |