Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gogs/gogs
/ updateMirror
Function
updateMirror
internal/database/mirror.go:346–349 ·
view source on GitHub ↗
(e Engine, m *Mirror)
Source
from the content-addressed store, hash-verified
344
}
345
346
func
updateMirror(e Engine, m *Mirror) error {
347
_, err := e.ID(m.ID).AllCols().Update(m)
348
return
err
349
}
350
351
func
UpdateMirror(m *Mirror) error {
352
return
updateMirror(x, m)
Callers
1
UpdateMirror
Function · 0.85
Calls
2
Update
Method · 0.65
ID
Method · 0.65
Tested by
no test coverage detected