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

Method Address

internal/database/mirror.go:123–126  ·  view source on GitHub ↗

Address returns mirror address from Git repository config without credentials.

()

Source from the content-addressed store, hash-verified

121
122// Address returns mirror address from Git repository config without credentials.
123func (m *Mirror) Address() string {
124 m.readAddress()
125 return HandleMirrorCredentials(m.address, false)
126}
127
128// MosaicsAddress returns mirror address from Git repository config with credentials under mosaics.
129func (m *Mirror) MosaicsAddress() string {

Callers

nothing calls this directly

Calls 2

readAddressMethod · 0.95
HandleMirrorCredentialsFunction · 0.85

Tested by

no test coverage detected