removed

package
v0.0.0-...-921daf7 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2016 License: GPL-3.0 Imports: 7 Imported by: 0

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

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

func New

func New(name, origin, version string, pkgType snap.Type) snappy.Part

New removed package.

Types

type Removed

type Removed struct {
	// contains filtered or unexported fields
}

Removed represents a removed package.

func (*Removed) Channel

func (r *Removed) Channel() string

Channel from the snappy.Part interface

func (*Removed) Config

func (r *Removed) Config(configuration []byte) (newConfig string, err error)

Config from the snappy.Part interface

func (*Removed) Date

func (r *Removed) Date() time.Time

Date from the snappy.Part interface

func (*Removed) Description

func (r *Removed) Description() string

Description from the snappy.Part interface

func (*Removed) DownloadSize

func (r *Removed) DownloadSize() int64

DownloadSize from the snappy.Part interface

func (*Removed) Frameworks

func (r *Removed) Frameworks() ([]string, error)

Frameworks from the snappy.Part interface

func (*Removed) Hash

func (r *Removed) Hash() string

Hash from the snappy.Part interface

func (*Removed) Icon

func (r *Removed) Icon() string

Icon from the snappy.Part interface

func (*Removed) InstalledSize

func (r *Removed) InstalledSize() int64

InstalledSize from the snappy.Part interface

func (*Removed) IsActive

func (r *Removed) IsActive() bool

IsActive from the snappy.Part interface

func (*Removed) IsInstalled

func (r *Removed) IsInstalled() bool

IsInstalled from the snappy.Part interface

func (*Removed) Name

func (r *Removed) Name() string

Name from the snappy.Part interface

func (*Removed) NeedsReboot

func (r *Removed) NeedsReboot() bool

NeedsReboot from the snappy.Part interface

func (*Removed) Origin

func (r *Removed) Origin() string

Origin from the snappy.Part interface

func (*Removed) Type

func (r *Removed) Type() snap.Type

Type from the snappy.Part interface

func (*Removed) Version

func (r *Removed) Version() string

Version from the snappy.Part interface

Jump to

Keyboard shortcuts

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