repochecker: New plugin ip-inspector

This commit is contained in:
Mathieu Ghirlanda 2022-11-10 16:06:24 +01:00 committed by Pierre-Olivier Mercier
commit f1a2e6c360
5 changed files with 196 additions and 3 deletions

View file

@ -0,0 +1,13 @@
package main
import (
"srs.epita.fr/fic-server/admin/sync"
)
var hooks *sync.CheckHooks
func RegisterChecksHooks(h *sync.CheckHooks) {
hooks = h
h.RegisterFileHook(InspectFileForIPAddr)
}