package
1.2.0
Repository: https://github.com/frankbraun/codechain.git
Documentation: pkg.go.dev

# Packages

Package command implements the secpkg commands.

# Functions

CheckUpdate checks installed package with name for updates, see specification for details.
Load a .secpkg file from filename and return the Package struct.
New creates a new Package.
Uninstall package with name.
Update package with name, see specification for details.
UpToDate ensures that the package with name is up-to-date, if it is installed as a secure package.
UpToDateIfInstalled ensures that the package with name is up-to-date, if it is installed as a secure package.

# Constants

File defines the default file (ending) for a secure package.

# Variables

ErrNoKey is returned if a package has no secretbox encryption key.
ErrNotInstalled is returned if a package is not installed.
ErrPkgNameWhitespace is returned if a package name contains a white space character.

# Structs

Package defines a package in secpkg format (stored in .secpkg files).