pack

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: AGPL-3.0, AGPL-3.0-or-later, GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pack

type Pack struct {
	Targets     []string
	Distro      string
	Release     string
	FullRelease string
	Root        string
	Home        string
	SourceDir   string
	PackageDir  string
	PkgName     string
	PkgVer      string
	PkgRel      string
	PkgDesc     string
	PkgDescLong []string
	Maintainer  string
	Arch        string
	License     []string
	Section     string
	Priority    string
	Url         string
	Depends     []string
	OptDepends  []string
	MakeDepends []string
	Provides    []string
	Conflicts   []string
	Sources     []string
	HashSums    []string
	Backup      []string
	Build       []string
	Package     []string
	PreInst     []string
	PostInst    []string
	PreRm       []string
	PostRm      []string
	Variables   map[string]string
	// contains filtered or unexported fields
}

func (*Pack) AddItem

func (p *Pack) AddItem(key string, data interface{}, n int, line string) (
	err error)

func (*Pack) Compile

func (p *Pack) Compile() (err error)

func (*Pack) Init

func (p *Pack) Init()

func (*Pack) Resolve

func (p *Pack) Resolve() (err error)

func (*Pack) Validate

func (p *Pack) Validate() (err error)

type ParseError

type ParseError struct {
	errors.DropboxError
}

type ValidationError

type ValidationError struct {
	errors.DropboxError
}

Jump to

Keyboard shortcuts

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