Setup de la règle SendErrorRule
This commit is contained in:
@@ -45,6 +45,7 @@ func HashFileCompare(filePath string, fingerprint string) (bool, error) {
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
println("OKOK ", fileFingerprint, fingerprint)
|
||||
if strings.Compare(fileFingerprint, fingerprint) == 0 {
|
||||
return true, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user