Documentation
¶
Index ¶
- Constants
- func CopyFile(source, target string) (err error)
- func WriteExecutable(path string, data []byte) error
- func WriteFile(path string, data []byte, perm fs.FileMode) error
- func WriteJSONIfChanged(path string, value any, perm fs.FileMode) (bool, error)
- func WriteReader(path string, reader io.Reader, perm fs.FileMode) error
- func WriteTextIfChanged(path, text string) (bool, error)
- func WriteWith(path string, perm fs.FileMode, write func(io.Writer) error) error
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func WriteExecutable ¶
func WriteJSONIfChanged ¶
func WriteTextIfChanged ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.