Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareContentWithFile ¶
Types ¶
type IFileWriter ¶
type IFileWriter interface {
WriteFile(input []byte, target string, force bool) error
CopyFile(source, target string, force bool) error
}
IFileWriter writes a target file with content
func NewFileWriter ¶
func NewFileWriter(sourceDir, targetDir string) IFileWriter
NewFileWriter creates a new file writer
Click to show internal directories.
Click to hide internal directories.