Documentation
¶
Index ¶
- Variables
- func CheckFileExists(dir string, fileName string) (bool, error)
- func CopyFile(source, destination string) error
- func GetBackupTimestamp() string
- func GetCurrentWorkingDirectory() string
- func IsFsDirectory(sourcePath string) (bool, error)
- func Mkdir(path string) error
- func OpenInEditor(filePath string) error
- func OpenInFinder(dirPath string) error
- func ReadDirRecursive(dirPath string) ([]string, error)
- type Directory
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SuccessMessage = lipgloss.NewStyle(). Bold(true). Foreground(lipgloss.Color("#22c55e")).SetString("") WarningMessage = lipgloss.NewStyle(). Bold(true). Foreground(lipgloss.Color("#f97316")).SetString("") ErrorMessage = lipgloss.NewStyle(). Bold(true). Foreground(lipgloss.Color("#ff5733")).SetString("") )
View Source
var Logger = log.NewWithOptions(os.Stderr, log.Options{ ReportTimestamp: false, })
Functions ¶
func GetBackupTimestamp ¶
func GetBackupTimestamp() string
func GetCurrentWorkingDirectory ¶
func GetCurrentWorkingDirectory() string
func IsFsDirectory ¶
func OpenInEditor ¶
func OpenInFinder ¶
func ReadDirRecursive ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.