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

Method CloneLink

internal/database/repo.go:763–765  ·  view source on GitHub ↗

CloneLink returns clone URLs of repository. Deprecated: Use repoutil.NewCloneLink instead.

()

Source from the content-addressed store, hash-verified

761//
762// Deprecated: Use repoutil.NewCloneLink instead.
763func (r *Repository) CloneLink() (cl *repoutil.CloneLink) {
764 return r.cloneLink(false)
765}
766
767type MigrateRepoOptions struct {
768 Name string

Callers 3

APIFormatLegacyMethod · 0.95
prepareRepoCommitFunction · 0.80
RepoAssignmentFunction · 0.80

Implementers 2

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

Calls 1

cloneLinkMethod · 0.95

Tested by

no test coverage detected