Documentation ¶
Index ¶
- type App
- func (app *App) AddDotfile(path string, dotfileName string, ignores []string) error
- func (app *App) CopyDirectory(src, dst string, ignores []string) error
- func (app *App) CopyFile(src, dst string, ignores []string) error
- func (app *App) ExpandHomeDir(path string) string
- func (app *App) GetConfigFilePath() string
- func (app *App) GetDotfiles() map[string]string
- func (app *App) GitCommitChanges(action, dotfileName string) error
- func (app *App) GitInit() error
- func (app *App) IsDir(path string) bool
- func (app *App) LoadConfig() error
- func (app *App) ReloadConfig() error
- func (app *App) RemoveDotFile(path string, name string) error
- func (app *App) UpdateAllDotfiles() error
- func (app *App) UpdateConfig(dotfileName, cleanedPath string, ignores []string) error
- func (app *App) UpdateDotfile(name, path string) error
- func (app *App) UpdateDotfileIgnores(name string, ignores []string) error
- func (app *App) UpdateDotfiles(name string) error
- type Dotfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { ConfigFilePath string StoragePath string Dotfile Dotfile Config *config.Config ConfigError error // contains filtered or unexported fields }
func (*App) AddDotfile ¶
func (*App) CopyDirectory ¶ added in v0.4.3
func (*App) ExpandHomeDir ¶ added in v0.4.3
func (*App) GetConfigFilePath ¶
func (*App) GetDotfiles ¶
func (*App) GitCommitChanges ¶ added in v0.4.1
GitCommitChanges commits changes to the Git repository
func (*App) GitInit ¶ added in v0.4.1
GitInit initializes a Git repository in the storage path if enable = true
func (*App) LoadConfig ¶
func (*App) ReloadConfig ¶
func (*App) UpdateAllDotfiles ¶ added in v0.4.1
UpdateAllDotfiles updates all dotfiles in the configuration
func (*App) UpdateConfig ¶ added in v0.4.3
func (*App) UpdateDotfile ¶ added in v0.4.1
UpdateDotfile updates a single dotfile
func (*App) UpdateDotfileIgnores ¶ added in v0.5.0
func (*App) UpdateDotfiles ¶ added in v0.4.1
UpdateDotfiles updates either all dotfiles or a specific one based on the provided name
Click to show internal directories.
Click to hide internal directories.