Documentation
¶
Index ¶
- type Settings
- type Workspace
- func (ws *Workspace) ClearSrc() error
- func (ws *Workspace) InstallLocalPackage(pkg string, localPath string) error
- func (ws *Workspace) InstallLocalPackagePersistently(pkg string, localPath string) error
- func (ws *Workspace) InstallSavedLocalPackages() error
- func (ws *Workspace) LoadSettings() (*Settings, error)
- func (ws *Workspace) Name() string
- func (ws *Workspace) Path() string
- func (ws *Workspace) Pkg() string
- func (ws *Workspace) SaveSettings(settings *Settings) error
- func (ws *Workspace) Settings() (*Settings, error)
- func (ws *Workspace) SettingsPath() string
- func (ws *Workspace) Src() string
- func (ws *Workspace) Uninstall(pkg string, logWriter io.Writer) error
- func (ws *Workspace) UninstallAllLocalInstalls() error
- func (ws *Workspace) UnpersistLocalInstall(pkg string) error
- func (ws *Workspace) UpdateEnsureMarker() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { GlobalFallback bool `toml:"global-fallback"` LocalInstalls map[string]*localInstall `toml:"local-install"` }
func DefaultSettings ¶
func DefaultSettings() *Settings
func NewSettings ¶
func NewSettings() *Settings
type Workspace ¶
type Workspace struct {
// contains filtered or unexported fields
}
func (*Workspace) InstallLocalPackage ¶
func (*Workspace) InstallLocalPackagePersistently ¶
func (*Workspace) InstallSavedLocalPackages ¶ added in v0.7.0
func (*Workspace) LoadSettings ¶
func (*Workspace) SaveSettings ¶
func (*Workspace) SettingsPath ¶
func (*Workspace) UninstallAllLocalInstalls ¶ added in v0.9.0
func (*Workspace) UnpersistLocalInstall ¶
func (*Workspace) UpdateEnsureMarker ¶
Click to show internal directories.
Click to hide internal directories.