repochecker/file-inspector: New checker
This commit is contained in:
parent
7a800b10de
commit
057ce22fb9
5 changed files with 104 additions and 1 deletions
13
repochecker/file-inspector/main.go
Normal file
13
repochecker/file-inspector/main.go
Normal 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)
|
||||
}
|
||||
Reference in a new issue