Documentation ¶
Overview ¶
The copyutil package contains libraries for copying directories of configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDir ¶
CopyDir copies a src directory to a dst directory. CopyDir skips copying the .git directory from the src.
func Diff ¶
Diff returns a list of files that differ between the source and destination.
Diff is guaranteed to return a non-empty set if any files differ, but this set is not guaranteed to contain all differing files.
func IsDotGitFolder ¶ added in v0.9.0
IsDotGitFolder checks if the provided path is either the .git folder or a file underneath the .git folder.
func PrettyFileDiff ¶ added in v0.1.7
PrettyFileDiff takes the content of two files and returns the pretty diff
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.