konfig

package
v0.0.0-...-381c4e2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApproximatedTyp

type ApproximatedTyp = akten.ApproximatedTyp

type Compiled

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

func (*Compiled) AccumulateImplicitEtiketten

func (k *Compiled) AccumulateImplicitEtiketten(
	e kennung.Etikett,
) (err error)

func (*Compiled) AddEtikett

func (k *Compiled) AddEtikett(
	kinder *sku.Transacted,
	mutter *sku.Transacted,
) (err error)

func (*Compiled) AddKasten

func (k *Compiled) AddKasten(
	c *sku.Transacted,
) (err error)

func (*Compiled) AddTyp

func (k *Compiled) AddTyp(
	b1 *sku.Transacted,
) (err error)

func (*Compiled) ApplyAndAddTransacted

func (k *Compiled) ApplyAndAddTransacted(
	kinder *sku.Transacted,
	mutter *sku.Transacted,
	ak *akten.Akten,
) (err error)

func (Compiled) ApplyToNewMetadatei

func (k Compiled) ApplyToNewMetadatei(
	ml metadatei.MetadateiLike,
	tagp schnittstellen.AkteGetterPutter[*typ_akte.V0],
) (err error)

func (*Compiled) ApplyToSku

func (k *Compiled) ApplyToSku(
	sk *sku.Transacted,
) (err error)

func (*Compiled) Cli

func (kc *Compiled) Cli() erworben.Cli

func (*Compiled) EachEtikett

func (k *Compiled) EachEtikett(
	f schnittstellen.FuncIter[*sku.Transacted],
) (err error)

func (*Compiled) Flush

func (kc *Compiled) Flush(
	s standort.Standort,
	tagp schnittstellen.AkteGetterPutter[*typ_akte.V0],
	printerHeader schnittstellen.FuncIter[string],
) (err error)

func (*Compiled) GetAngeboren

func (kc *Compiled) GetAngeboren() schnittstellen.Angeboren

func (*Compiled) GetApproximatedTyp

func (kc *Compiled) GetApproximatedTyp(
	k kennung.Kennung,
) (ct ApproximatedTyp)

Returns the exactly matching Typ, or if it doesn't exist, returns the parent Typ or nil. (Parent Typ for `md-gdoc` would be `md`.)

func (*Compiled) GetErworben

func (a *Compiled) GetErworben() *erworben.Akte

func (*Compiled) GetEtikett

func (kc *Compiled) GetEtikett(
	k kennung.Etikett,
) (ct *sku.Transacted, ok bool)

func (*Compiled) GetImplicitEtiketten

func (c *Compiled) GetImplicitEtiketten(
	e *kennung.Etikett,
) kennung.EtikettSet

func (*Compiled) GetKasten

func (kc *Compiled) GetKasten(k kennung.Kasten) (ct *sku.Transacted)

func (*Compiled) GetSortedEtikettenExpanded

func (c *Compiled) GetSortedEtikettenExpanded(
	v string,
) (expandedActual []*sku.Transacted)

func (*Compiled) GetSortedTypenExpanded

func (c *Compiled) GetSortedTypenExpanded(
	v string,
) (expandedActual []*sku.Transacted)

TODO-P3 merge all the below

func (*Compiled) GetZettelFileExtension

func (c *Compiled) GetZettelFileExtension() string

func (*Compiled) HasChanges

func (kc *Compiled) HasChanges() bool

func (*Compiled) Initialize

func (c *Compiled) Initialize(
	s standort.Standort,
	kcli erworben.Cli,
) (err error)

func (*Compiled) IsInlineTyp

func (kc *Compiled) IsInlineTyp(k kennung.Typ) (isInline bool)

func (*Compiled) Reset

func (a *Compiled) Reset() error

func (*Compiled) SetCli

func (kc *Compiled) SetCli(k erworben.Cli)

func (*Compiled) SetCliFromCommander

func (kc *Compiled) SetCliFromCommander(k erworben.Cli)

func (*Compiled) SetHasChanges

func (kc *Compiled) SetHasChanges()

func (*Compiled) SetTransacted

func (k *Compiled) SetTransacted(
	kt1 *sku.Transacted,
	kag schnittstellen.AkteGetter[*erworben.Akte],
) (err error)

type Getter

type Getter interface {
	GetKonfig() *Compiled
}

Jump to

Keyboard shortcuts

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