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

Method HTMLURL

internal/database/issue.go:164–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162}
163
164func (issue *Issue) HTMLURL() string {
165 var path string
166 if issue.IsPull {
167 path = "pulls"
168 } else {
169 path = "issues"
170 }
171 return fmt.Sprintf("%s/%s/%d", issue.Repo.HTMLURL(), path, issue.Index)
172}
173
174// State returns string representation of issue status.
175func (issue *Issue) State() api.StateType {

Callers

nothing calls this directly

Implementers 1

mailerIssueinternal/database/issue_mail.go

Calls 1

HTMLURLMethod · 0.65

Tested by

no test coverage detected