repochecker/file-inspector: New checker

This commit is contained in:
nemunaire 2022-11-03 02:32:27 +01:00
commit 057ce22fb9
5 changed files with 104 additions and 1 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(InspectFile)
}