Documentation
¶
Index ¶
- func CopyDirectory(src, dst string, ignores []string) error
- func CopyFile(src, dst string, ignores []string) error
- func CopyPath(src, dst string, ignores []string) error
- func DiffFiles(origin, dest string, ignores []string) (bool, error)
- func GetConfigPaths() (string, string, error)
- func GetEditor() string
- func GetHostname() (string, error)
- func GetTimestamp() string
- func PromptForGitVersioning() (bool, error)
- func RemoveDirectory(path string) error
- func RemoveIgnoredFiles(dst string, ignores []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDirectory ¶
func DiffFiles ¶
DiffFiles compares files or directories at origin and dest paths. It returns true if changes were made, and false otherwise.
func GetConfigPaths ¶ added in v0.4.1
func GetHostname ¶ added in v0.4.1
GetHostname returns the hostname of the system
func GetTimestamp ¶ added in v0.4.1
func GetTimestamp() string
GetTimestamp returns the current timestamp
func PromptForGitVersioning ¶ added in v0.4.1
PromptForGitVersioning asks the user if they want to enable Git versioning
func RemoveDirectory ¶
func RemoveIgnoredFiles ¶ added in v0.5.0
RemoveIgnoredFiles removes files and directories that match the ignore patterns
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.