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

Method RawAddress

internal/database/mirror.go:135–138  ·  view source on GitHub ↗

RawAddress returns raw mirror address directly from Git repository config.

()

Source from the content-addressed store, hash-verified

133
134// RawAddress returns raw mirror address directly from Git repository config.
135func (m *Mirror) RawAddress() string {
136 m.readAddress()
137 return m.address
138}
139
140// SaveAddress writes new address to Git repository config.
141func (m *Mirror) SaveAddress(addr string) error {

Callers 1

runSyncMethod · 0.95

Calls 1

readAddressMethod · 0.95

Tested by

no test coverage detected