database

package
Version: v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

func Load

func Load(dbPath string) (*Database, error)

func (*Database) Package

func (d *Database) Package(name string) (gpm.Package, error)

func (*Database) PackageJSON

func (d *Database) PackageJSON(name string) (pkg []byte, err error)

func (*Database) Packages

func (d *Database) Packages() (pkgs []gpm.Package, err error)

func (*Database) PutPackage

func (d *Database) PutPackage(pkg gpm.Package) error

func (*Database) RemovePackage

func (d *Database) RemovePackage(name string) error

Source Files

Jump to

Keyboard shortcuts

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