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

Method MosaicsAddress

internal/database/mirror.go:129–132  ·  view source on GitHub ↗

MosaicsAddress returns mirror address from Git repository config with credentials under mosaics.

()

Source from the content-addressed store, hash-verified

127
128// MosaicsAddress returns mirror address from Git repository config with credentials under mosaics.
129func (m *Mirror) MosaicsAddress() string {
130 m.readAddress()
131 return HandleMirrorCredentials(m.address, true)
132}
133
134// RawAddress returns raw mirror address directly from Git repository config.
135func (m *Mirror) RawAddress() string {

Callers 1

runSyncMethod · 0.95

Calls 2

readAddressMethod · 0.95
HandleMirrorCredentialsFunction · 0.85

Tested by

no test coverage detected