MCPcopy 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
346func updateMirror(e Engine, m *Mirror) error {
347 _, err := e.ID(m.ID).AllCols().Update(m)
348 return err
349}
350
351func UpdateMirror(m *Mirror) error {
352 return updateMirror(x, m)

Callers 1

UpdateMirrorFunction · 0.85

Calls 2

UpdateMethod · 0.65
IDMethod · 0.65

Tested by

no test coverage detected