Documentation
¶
Overview ¶
Package removed implements Removed packages, that are packages that have been installed, removed, but not purged: there is no application, but there might be data.
Index ¶
- Variables
- func New(name, origin, version string, pkgType pkg.Type) snappy.Part
- type Removed
- func (r *Removed) Channel() string
- func (r *Removed) Config(configuration []byte) (newConfig string, err error)
- func (r *Removed) Date() time.Time
- func (r *Removed) Description() string
- func (r *Removed) DownloadSize() int64
- func (r *Removed) Frameworks() ([]string, error)
- func (r *Removed) Hash() string
- func (r *Removed) Icon() string
- func (r *Removed) Install(pb progress.Meter, flags snappy.InstallFlags) (name string, err error)
- func (r *Removed) InstalledSize() int64
- func (r *Removed) IsActive() bool
- func (r *Removed) IsInstalled() bool
- func (r *Removed) Name() string
- func (r *Removed) NeedsReboot() bool
- func (r *Removed) Origin() string
- func (r *Removed) SetActive(bool, progress.Meter) error
- func (r *Removed) Type() pkg.Type
- func (r *Removed) Uninstall(pb progress.Meter) error
- func (r *Removed) Vendor() string
- func (r *Removed) Version() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRemoved = errors.New("package is removed")
ErrRemoved is returned when you ask to operate on a removed package.
Functions ¶
Types ¶
type Removed ¶
type Removed struct {
// contains filtered or unexported fields
}
Removed represents a removed package.
func (*Removed) Description ¶
Description from the snappy.Part interface
func (*Removed) DownloadSize ¶
DownloadSize from the snappy.Part interface
func (*Removed) Frameworks ¶
Frameworks from the snappy.Part interface
func (*Removed) InstalledSize ¶
InstalledSize from the snappy.Part interface
func (*Removed) IsInstalled ¶
IsInstalled from the snappy.Part interface
func (*Removed) NeedsReboot ¶
NeedsReboot from the snappy.Part interface
Click to show internal directories.
Click to hide internal directories.