Documentation ¶
Index ¶
- func Replace(target string, src string, backupPath string) error
- func WithCreateThenReplace(fileName string, perm os.FileMode, action func(*os.File) error) error
- func WithFileReader(from string, action func(io.Reader) error, ...) error
- func WithOpenFile(name string, flag int, perm os.FileMode, action func(*os.File) error) error
- func WithReader(source io.Reader, action func(io.Reader) error, ...) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCreateThenReplace ¶
func WithFileReader ¶
func WithOpenFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.