MCPcopy
hub / github.com/git-lfs/git-lfs / verifyLocksForUpdates

Function verifyLocksForUpdates

commands/lockverifier.go:26–30  ·  view source on GitHub ↗
(lv *lockVerifier, updates []*git.RefUpdate)

Source from the content-addressed store, hash-verified

24)
25
26func verifyLocksForUpdates(lv *lockVerifier, updates []*git.RefUpdate) {
27 for _, update := range updates {
28 lv.Verify(update.RemoteRef())
29 }
30}
31
32// lockVerifier verifies locked files before updating one or more refs.
33type lockVerifier struct {

Callers 1

uploadForRefUpdatesFunction · 0.85

Calls 2

VerifyMethod · 0.80
RemoteRefMethod · 0.45

Tested by

no test coverage detected