MCPcopy Create free account
hub / github.com/gogs/gogs / GetMilestoneByRepoID

Function GetMilestoneByRepoID

internal/database/milestone.go:165–167  ·  view source on GitHub ↗

GetWebhookByRepoID returns the milestone in a repository.

(repoID, id int64)

Source from the content-addressed store, hash-verified

163
164// GetWebhookByRepoID returns the milestone in a repository.
165func GetMilestoneByRepoID(repoID, id int64) (*Milestone, error) {
166 return getMilestoneByRepoID(x, repoID, id)
167}
168
169// GetMilestonesByRepoID returns all milestones of a repository.
170func GetMilestonesByRepoID(repoID int64) ([]*Milestone, error) {

Callers 7

EditMilestoneFunction · 0.92
EditMilestonePostFunction · 0.92
ChangeMilestonStatusFunction · 0.92
GetMilestoneFunction · 0.92
EditMilestoneFunction · 0.92
GetMilestoneByIDMethod · 0.85

Calls 1

getMilestoneByRepoIDFunction · 0.85

Tested by

no test coverage detected