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

Method Link

internal/database/repo.go:596–598  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

594}
595
596func (r *Repository) Link() string {
597 return conf.Server.Subpath + "/" + r.FullName()
598}
599
600// Deprecated: Use repoutil.ComparePath instead.
601func (r *Repository) ComposeCompareURL(oldCommitID, newCommitID string) string {

Callers 8

ComposeMetasMethod · 0.95
PullRequestURLMethod · 0.45
RepoAssignmentFunction · 0.45
ForkPostFunction · 0.45
PrepareCompareDiffFunction · 0.45
SettingsPostFunction · 0.45

Implementers 2

Repositoryinternal/database/repo.go
mailerRepointernal/database/issue_mail.go

Calls 1

FullNameMethod · 0.95

Tested by 1