Documentation
¶
Index ¶
- func AskForConfirmation(s string) bool
- func CompareFiles(pathA string, pathB string) error
- func CreateFile(r Resource, name string, path string, templateString string, level int) error
- func CreateFolders(r Resource, folders []string, path string, permissions os.FileMode, ...) error
- func KeepFolder(path string) error
- type Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskForConfirmation ¶
AskForConfirmation asks the user for confirmation before continuing
func CompareFiles ¶
comapreFiles comapres two files at given paths
func CreateFile ¶
CreateFile creates a file
func CreateFolders ¶
func CreateFolders(r Resource, folders []string, path string, permissions os.FileMode, withKeep bool, level int) error
CreateFolders creates a list of folders
func KeepFolder ¶
KeepFolder creates a .keep file in directory to keep the folder
Types ¶
Click to show internal directories.
Click to hide internal directories.