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

Method RelLink

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

Source from the content-addressed store, hash-verified

590}
591
592func (r *Repository) RelLink() string {
593 return "/" + r.FullName()
594}
595
596func (r *Repository) Link() string {
597 return conf.Server.Subpath + "/" + r.FullName()

Callers

nothing calls this directly

Implementers 2

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

Calls 1

FullNameMethod · 0.95

Tested by

no test coverage detected