control

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Control

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

func NewControl

func NewControl(conf *config.Config) *Control

func (*Control) Arch

func (v *Control) Arch(arch string)

func (*Control) DataSize

func (v *Control) DataSize(s int64)

func (*Control) Save

func (v *Control) Save(dir string, subver string) (string, error)

type Md5Sums

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

func NewMd5Sums

func NewMd5Sums() *Md5Sums

func (*Md5Sums) Add

func (v *Md5Sums) Add(filename, hash string)

func (*Md5Sums) Save

func (v *Md5Sums) Save(dir string) (string, error)

type Other

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

func NewOther

func NewOther(conf *config.Config) *Other

func (*Other) List

func (v *Other) List() []string

func (*Other) WriteTo

func (v *Other) WriteTo(dir string) error

type Pkg

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

func NewControlPkg

func NewControlPkg(conf *config.Config) *Pkg

func (*Pkg) AddFile

func (v *Pkg) AddFile(filepath ...string)

func (*Pkg) List

func (v *Pkg) List() []string

Jump to

Keyboard shortcuts

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