Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gogs/gogs
/ UpdateMirror
Function
UpdateMirror
internal/database/mirror.go:351–353 ·
view source on GitHub ↗
(m *Mirror)
Source
from the content-addressed store, hash-verified
349
}
350
351
func
UpdateMirror(m *Mirror) error {
352
return
updateMirror(x, m)
353
}
354
355
func
DeleteMirrorByRepoID(repoID int64) error {
356
_, err := x.Delete(&Mirror{RepoID: repoID})
Callers
2
SettingsPost
Function · 0.92
SyncMirrors
Function · 0.85
Calls
1
updateMirror
Function · 0.85
Tested by
no test coverage detected