rpm

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageKeeper

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

func NewPackageKeeper

func NewPackageKeeper(ctx context.Context, repositories []string) (*PackageKeeper, error)

func (*PackageKeeper) Extract

func (p *PackageKeeper) Extract(ctx context.Context, rootfs fs.FullFS, rs io.Reader) error

Extract the contents of a cpio stream from r to the destination directory dest

func (*PackageKeeper) Resolve

func (p *PackageKeeper) Resolve(ctx context.Context, pkg string) ([]lockfile.Package, error)

func (*PackageKeeper) Unpack

func (p *PackageKeeper) Unpack(ctx context.Context, pkgFile string, rootfs fs.FullFS) error

Jump to

Keyboard shortcuts

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