11 lines
499 B
Go
11 lines
499 B
Go
package state
|
|
|
|
import "os"
|
|
|
|
// TestHookQuarantineCorruptFile runs one orchestration or CLI step.
|
|
// Signature: TestHookQuarantineCorruptFile(path string, payload []byte, replacement []byte, mode os.FileMode) error.
|
|
// Why: exposes corrupt-file healing internals to the top-level testing module without package-local tests.
|
|
func TestHookQuarantineCorruptFile(path string, payload []byte, replacement []byte, mode os.FileMode) error {
|
|
return quarantineCorruptFile(path, payload, replacement, mode)
|
|
}
|