pacman

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DependencyDirName = ".dep"
	BundleName        = "bundle.zip"
)

Variables

This section is empty.

Functions

func ParseIndexDependency

func ParseIndexDependency(dep string) (string, string)

Types

type PackageManager

type PackageManager struct {
	Package         *_package.Package
	PackageCacheDir string
	DependenciesDir string

	BaseDir string
}

func New

func New(idxFile string) (*PackageManager, error)

func (*PackageManager) Download

func (pacman *PackageManager) Download(depends []string, replace bool) ([]string, map[string]struct{}, error)

func (*PackageManager) InstallIndexDependencies

func (pacman *PackageManager) InstallIndexDependencies() ([]string, error)

func (*PackageManager) InstallNewDependencies

func (pacman *PackageManager) InstallNewDependencies(depends []string, replace bool) ([]string, error)

func (*PackageManager) Pack

func (pacman *PackageManager) Pack() error

func (*PackageManager) Validate

func (pacman *PackageManager) Validate() []error

Jump to

Keyboard shortcuts

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