(path string)
| 703 | } |
| 704 | |
| 705 | func ReadFile(path string) ([]byte, error) { |
| 706 | return os.ReadFile(filepath.FromSlash(path)) |
| 707 | } |
| 708 | |
| 709 | func WriteFile(path string, data []byte, perm os.FileMode) error { |
| 710 | return os.WriteFile(filepath.FromSlash(path), data, perm) |
no test coverage detected