Documentation
¶
Overview ¶
file install package
Index ¶
- Constants
- Variables
- func EmptyEnvs(a []string) []string
- func EmptyVars(s string) []string
- func FindDir(dirs []string, mkdir bool) string
- func Vars(s string) []string
- type Locate
- type PathError
- type Pkg
- func (pkg *Pkg) Create(fname string, mode os.FileMode, data interface{}) (err error)
- func (pkg *Pkg) Install(name string, mode os.FileMode, data interface{}, loc Locate, force bool) (fname string, err error)
- func (pkg *Pkg) InstallPath(loc Locate, mkdir bool) (string, error)
- func (pkg *Pkg) Uninstall(name string, loc Locate) (fname string, err error)
- type Template
Constants ¶
View Source
const ( Local = Locate(iota) Global )
Variables ¶
View Source
var (
ErrNoInstallPath = errors.New("no install path")
)
Functions ¶
Types ¶
Directories
¶
Path | Synopsis |
---|---|
pkgs
|
|
bash-completion
bash-completion install package * for use "github.com/jessevdk/go-flags" CLI * install path * $BASH_COMPLETION_DIR (local) * $BASH_COMPLETION_COMPAT_DIR (global)
|
bash-completion install package * for use "github.com/jessevdk/go-flags" CLI * install path * $BASH_COMPLETION_DIR (local) * $BASH_COMPLETION_COMPAT_DIR (global) |
copy
file copy install package * use http.FileSystem interface
|
file copy install package * use http.FileSystem interface |
launchagent
launchagent install package for macOS * install path * $HOME/Library/LaunchAgents (local) * /Library/LaunchAgents (global)
|
launchagent install package for macOS * install path * $HOME/Library/LaunchAgents (local) * /Library/LaunchAgents (global) |
launchdaemon
launchdaemon install package for macOS * install path * $HOME/Library/LaunchAgents (local) * /Library/LaunchDaemons (global)
|
launchdaemon install package for macOS * install path * $HOME/Library/LaunchAgents (local) * /Library/LaunchDaemons (global) |