MCPcopy 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
351func UpdateMirror(m *Mirror) error {
352 return updateMirror(x, m)
353}
354
355func DeleteMirrorByRepoID(repoID int64) error {
356 _, err := x.Delete(&Mirror{RepoID: repoID})

Callers 2

SettingsPostFunction · 0.92
SyncMirrorsFunction · 0.85

Calls 1

updateMirrorFunction · 0.85

Tested by

no test coverage detected