packagedb

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 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 PackageIndex

type PackageIndex struct{}

PackageIndex is pacman.PackageIndex implementation to communicate with IndexDB-based package registry on browser side.

func NewPackageIndex

func NewPackageIndex() PackageIndex

func (PackageIndex) LookupPackage

func (p PackageIndex) LookupPackage(pkgName string) (*module.Version, error)

func (PackageIndex) RegisterPackage

func (p PackageIndex) RegisterPackage(pkg *module.Version) error

func (PackageIndex) RemovePackage

func (p PackageIndex) RemovePackage(pkg *module.Version) error

Jump to

Keyboard shortcuts

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