angeboren

package
v0.0.0-...-1c9a7a8 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CompressionTypeEmpty = CompressionType("")
	CompressionTypeNone  = CompressionType("none")
	CompressionTypeGzip  = CompressionType("gzip")
	CompressionTypeZlib  = CompressionType("zlib")
	CompressionTypeZstd  = CompressionType("zstd")

	CompressionTypeDefault = CompressionTypeGzip
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CompressionType

type CompressionType string

func (*CompressionType) AddToFlagSet

func (ct *CompressionType) AddToFlagSet(f *flag.FlagSet)

func (CompressionType) NewReader

func (ct CompressionType) NewReader(
	r io.Reader,
) (out io.ReadCloser, err error)

func (CompressionType) NewWriter

func (ct CompressionType) NewWriter(w io.Writer) io.WriteCloser

func (*CompressionType) Set

func (ct *CompressionType) Set(v string) (err error)

func (CompressionType) String

func (ct CompressionType) String() string

type ErrUnsupportedCompression

type ErrUnsupportedCompression string

func (ErrUnsupportedCompression) Error

func (ErrUnsupportedCompression) Is

func (e ErrUnsupportedCompression) Is(err error) (ok bool)

type Konfig

type Konfig struct {
	StoreVersion                        storeVersion
	Recipients                          []string
	UseBestandsaufnahme                 bool
	UseKonfigErworbenFile               bool
	UseBestandsaufnahmeForVerzeichnisse bool
	CompressionType                     CompressionType
	LockInternalFiles                   bool
}

func Default

func Default() Konfig

func (*Konfig) AddToFlagSet

func (k *Konfig) AddToFlagSet(f *flag.FlagSet)

func (Konfig) GetStoreVersion

func (k Konfig) GetStoreVersion() schnittstellen.StoreVersion

func (Konfig) GetUseBestandsaufnahmeForVerzeichnisse

func (k Konfig) GetUseBestandsaufnahmeForVerzeichnisse() bool

Jump to

Keyboard shortcuts

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