(lv *lockVerifier, updates []*git.RefUpdate)
| 24 | ) |
| 25 | |
| 26 | func 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. |
| 33 | type lockVerifier struct { |
no test coverage detected