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

Function HTMLURL

internal/repoutil/repoutil.go:41–43  ·  view source on GitHub ↗

HTMLURL returns HTML URL using given owner and repository name.

(owner, repo string)

Source from the content-addressed store, hash-verified

39
40// HTMLURL returns HTML URL using given owner and repository name.
41func HTMLURL(owner, repo string) string {
42 return conf.Server.ExternalURL + owner + "/" + repo
43}
44
45// CompareCommitsPath returns the comparison path using given owner, repository,
46// and commit IDs.

Callers 5

APIFormatMethod · 0.92
MirrorSyncPushMethod · 0.92
CommitRepoMethod · 0.92
toRepoContentFunction · 0.92
TestHTMLURLFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestHTMLURLFunction · 0.68