Files
2026-05-06 10:14:55 +03:00

11 lines
292 B
Go

package testenv
import "os"
// writeFileFn is a tiny indirection so other files in this package can
// write fixtures without re-declaring os.WriteFile and to keep test
// hooks centralised.
func writeFileFn(path string, content []byte) error {
return os.WriteFile(path, content, 0o600)
}