app

package
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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 *App) AddDotfile(path string, name string) error

func (*App) GetConfigFilePath

func (app *App) GetConfigFilePath() string

func (*App) GetDotfiles

func (app *App) GetDotfiles() map[string]string

func (*App) LoadConfig

func (app *App) LoadConfig() error

func (*App) ReloadConfig

func (app *App) ReloadConfig() error

func (*App) RemoveDotFile

func (app *App) RemoveDotFile(path string, name string) error

type Dotfile

type Dotfile struct {
	Name string
	Path string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL