- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for bitrotVerify (0.05 sec)
-
cmd/xl-storage_test.go
// Check if VerifyFile reports the incorrect file length (the correct length is `size+1`) if err := storage.storage.bitrotVerify(t.Context(), pathJoin(path, volName, fileName), size, algo, hashBytes, 0); err == nil { t.Fatal("expected to fail bitrot check") } // Check if bitrot fails if err := storage.storage.bitrotVerify(t.Context(), pathJoin(path, volName, fileName), size+1, algo, hashBytes, 0); err == nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 66K bytes - Viewed (0)