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, reverseSyncMode bool) (bool, error)
- func GetConfigPaths() (string, string, error)
- func GetDataPaths() (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 based on the sync mode. If reverseSyncMode is true, the destination is considered the source.
func GetConfigPaths ¶ added in v0.4.1
GetConfigPaths returns the config directory and config file path for gart
func GetDataPaths ¶ added in v0.7.0
GetDataPaths returns the data directory path for gart storage
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.