ReadFile reads the full content of a file. Return os.ErrNotExist (or wrap it) if the file does not exist.
(path string)
| 21 | // ReadFile reads the full content of a file. Return os.ErrNotExist (or wrap it) |
| 22 | // if the file does not exist. |
| 23 | ReadFile(path string) (string, error) |
| 24 | // WriteFile writes content to a file, creating it and parent directories if needed. |
| 25 | // mode is an optional POSIX-style permission mode. Pass nil to use the OS default. |
| 26 | WriteFile(path string, content string, mode *int) error |
no outgoing calls
no test coverage detected