UpdateMilestone updates information of given milestone.
(m *Milestone)
| 189 | |
| 190 | // UpdateMilestone updates information of given milestone. |
| 191 | func UpdateMilestone(m *Milestone) error { |
| 192 | return updateMilestone(x, m) |
| 193 | } |
| 194 | |
| 195 | func countRepoMilestones(e Engine, repoID int64) int64 { |
| 196 | count, _ := e.Where("repo_id=?", repoID).Count(new(Milestone)) |
no test coverage detected