kennung

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: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SigilUnknown   = Sigil(iota)
	SigilSchwanzen = Sigil(1 << iota)
	SigilHistory
	SigilCwd
	SigilHidden

	SigilMax
	SigilAll = Sigil(^byte(0))
)
View Source
const EtikettRegexString = `^%?[-a-z0-9_]+$`
View Source
const KastenRegexString = `^(//)?[-a-z0-9_]+$`

Variables

View Source
var ErrFDNotKennung = errors.New("not a kennung file")
View Source
var EtikettRegex *regexp.Regexp
View Source
var EtikettResetter etikettResetter
View Source
var KastenRegex *regexp.Regexp

Functions

func AddNormalizedEtikett

func AddNormalizedEtikett(es EtikettMutableSet, e *Etikett)

func Aligned

func Aligned(id Kennung, lenLeft, lenRight int) string

func AlignedParts

func AlignedParts(
	id Kennung,
	lenLeft, lenRight int,
) (string, string, string)

func BinarySearchForRuneInEtikettenSortedStringSlice

func BinarySearchForRuneInEtikettenSortedStringSlice(
	haystack []string,
	needle rune,
) (idx int, ok bool)

func Contains

func Contains(a, b KennungSansGattung) bool

func ContainsExactly

func ContainsExactly(a, b KennungSansGattung) bool

func ContainsWithoutUnderscoreSuffix

func ContainsWithoutUnderscoreSuffix[T schnittstellen.Stringer](a, b T) bool

func Description

func Description(s EtikettSet) string

func DontAbbreviateString

func DontAbbreviateString[VPtr schnittstellen.Stringer](k VPtr) (string, error)

func DontExpandString

func DontExpandString(v string) (string, error)

func Equals

func Equals(a, b Kennung) (ok bool)

func ErrOnKonfig

func ErrOnKonfig(v string) (err error)

func ErrOnKonfigBytes

func ErrOnKonfigBytes(b []byte) (err error)

func EtikettSetEquals

func EtikettSetEquals(a, b EtikettSet) bool

func ExpandMany

func ExpandMany[T KennungLike[T], TPtr KennungLikePtr[T]](
	ks schnittstellen.SetPtrLike[T, TPtr],
	ex expansion.Expander,
) (out schnittstellen.SetPtrLike[T, TPtr])

func ExpandOne

func ExpandOne[T KennungLike[T], TPtr KennungLikePtr[T]](
	k TPtr,
	exes ...expansion.Expander,
) (out schnittstellen.SetPtrLike[T, TPtr])

func ExpandOneSlice

func ExpandOneSlice[T KennungLike[T], TPtr KennungLikePtr[T]](
	k TPtr,
	exes ...expansion.Expander,
) (out []T)

func ExpandOneTo

func ExpandOneTo[T KennungLike[T], TPtr KennungLikePtr[T]](
	k TPtr,
	ex expansion.Expander,
	s1 schnittstellen.FuncSetString,
) (out schnittstellen.SetPtrLike[T, TPtr])

func FormattedString

func FormattedString(k KennungSansGattung) string

func GetEtikettMapPtrPool

func GetEtikettMapPtrPool() schnittstellen.PoolValue[map[string]*Etikett]

func GetEtikettPool

func GetEtikettPool() schnittstellen.Pool[Etikett, *Etikett]

func GetKennungPool

func GetKennungPool() schnittstellen.Pool[Kennung2, *Kennung2]

func HasParentPrefix

func HasParentPrefix(a, b Etikett) (has bool)

func Includes

func Includes(a, b KennungSansGattung) bool

func IsDependentLeaf

func IsDependentLeaf(a Etikett) (has bool)

func IsEmpty

func IsEmpty[T schnittstellen.Stringer](a T) bool

func IsErrInvalid

func IsErrInvalid(err error) bool

func IsErrInvalidSigil

func IsErrInvalidSigil(err error) bool

func LeftSubtract

func LeftSubtract[
	T schnittstellen.Stringer,
	TPtr schnittstellen.StringSetterPtr[T],
](
	a, b T,
) (c T, err error)

func Less

func Less[T schnittstellen.Stringer](a, b T) bool

func LessLen

func LessLen[T schnittstellen.Stringer](a, b T) bool

func MatchTwoSortedEtikettStringSlices

func MatchTwoSortedEtikettStringSlices(a, b []string) (hasMatch bool)

func RemovePrefixes

func RemovePrefixes(es EtikettMutableSet, needle Etikett)

func SigilFieldFunc

func SigilFieldFunc(c rune) (ok bool)

Types

type Abbr

type Abbr struct {
	Sha struct {
		Expand     FuncExpandString
		Abbreviate FuncAbbreviateString[sha.Sha, *sha.Sha]
	}
	// TODO switch to Kennung2
	Hinweis abbrOne[Hinweis, *Hinweis]
}

func (Abbr) AbbreviateHinweisOnly

func (a Abbr) AbbreviateHinweisOnly(
	in *Kennung2,
) (err error)

func (Abbr) AbbreviateKennung

func (a Abbr) AbbreviateKennung(
	in *Kennung2,
	out *Kennung2,
) (err error)

func (Abbr) ExpandHinweisOnly

func (a Abbr) ExpandHinweisOnly(
	in *Kennung2,
) (err error)

func (Abbr) ExpanderFor

func (a Abbr) ExpanderFor(g gattung.Gattung) FuncExpandString

func (Abbr) LenKopfUndSchwanz

func (a Abbr) LenKopfUndSchwanz(
	in *Kennung2,
) (kopf, schwanz int, err error)

type Clock

type Clock interface {
	GetTime() thyme.Time
	GetTai() Tai
}

type ErrInvalidKennung

type ErrInvalidKennung string

func (ErrInvalidKennung) Error

func (e ErrInvalidKennung) Error() string

func (ErrInvalidKennung) Is

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

type Etikett

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

func MakeEtikett

func MakeEtikett(v string) (e Etikett, err error)

func MustEtikett

func MustEtikett(v string) (e Etikett)

func MustEtikettPtr

func MustEtikettPtr(v string) (e *Etikett)

func SansPrefix

func SansPrefix(a Etikett) (b Etikett)

func (Etikett) Bytes

func (e Etikett) Bytes() []byte

func (Etikett) Equals

func (a Etikett) Equals(b Etikett) bool

func (Etikett) EqualsAny

func (a Etikett) EqualsAny(b any) bool

func (Etikett) GetGattung

func (e Etikett) GetGattung() schnittstellen.GattungLike

func (Etikett) GetQueryPrefix

func (e Etikett) GetQueryPrefix() string

func (Etikett) IsDependentLeaf

func (e Etikett) IsDependentLeaf() bool

func (Etikett) IsVirtual

func (e Etikett) IsVirtual() bool

func (Etikett) MarshalBinary

func (t Etikett) MarshalBinary() (text []byte, err error)

func (Etikett) MarshalText

func (t Etikett) MarshalText() (text []byte, err error)

func (Etikett) Parts

func (e Etikett) Parts() [3]string

func (*Etikett) Reset

func (e *Etikett) Reset()

func (*Etikett) Set

func (e *Etikett) Set(v string) (err error)

func (Etikett) String

func (e Etikett) String() string

func (*Etikett) TodoSetFromKennung2

func (e *Etikett) TodoSetFromKennung2(v *Kennung2) (err error)

func (*Etikett) UnmarshalBinary

func (t *Etikett) UnmarshalBinary(text []byte) (err error)

func (*Etikett) UnmarshalText

func (t *Etikett) UnmarshalText(text []byte) (err error)

type EtikettMutableSet

type EtikettMutableSet = schnittstellen.MutableSetPtrLike[Etikett, *Etikett]

func MakeEtikettMutableSet

func MakeEtikettMutableSet(hs ...Etikett) EtikettMutableSet

func MakeMutableEtikettSet

func MakeMutableEtikettSet(hs ...Etikett) EtikettMutableSet

type EtikettSet

type EtikettSet = schnittstellen.SetPtrLike[Etikett, *Etikett]
var EtikettSetEmpty EtikettSet

func Expanded

func Expanded(s EtikettSet, ex expansion.Expander) (out EtikettSet)

func IntersectPrefixes

func IntersectPrefixes(s1 EtikettSet, s2 EtikettSet) (s3 EtikettSet)

func MakeEtikettSet

func MakeEtikettSet(es ...Etikett) (s EtikettSet)

func MakeEtikettSetStrings

func MakeEtikettSetStrings(vs ...string) (s EtikettSet, err error)

func SubtractPrefix

func SubtractPrefix(s1 EtikettSet, e Etikett) (s2 EtikettSet)

func WithRemovedCommonPrefixes

func WithRemovedCommonPrefixes(s EtikettSet) (s2 EtikettSet)

func Withdraw

func Withdraw(s1 EtikettMutableSet, e Etikett) (s2 EtikettSet)

type EtikettSlice

type EtikettSlice []Etikett

TODO-P3 make mutable / immutable?

func MakeEtikettSlice

func MakeEtikettSlice(es ...Etikett) (s EtikettSlice)

func NewSliceFromStrings

func NewSliceFromStrings(es ...string) (s EtikettSlice, err error)

func (*EtikettSlice) Add

func (es *EtikettSlice) Add(e Etikett)

func (*EtikettSlice) AddString

func (es *EtikettSlice) AddString(v string) (err error)

func (EtikettSlice) Len

func (s EtikettSlice) Len() int

func (*EtikettSlice) Set

func (s *EtikettSlice) Set(v string) (err error)

func (EtikettSlice) SortedString

func (es EtikettSlice) SortedString() (out []string)

func (EtikettSlice) String

func (s EtikettSlice) String() string

func (EtikettSlice) ToSet

func (s EtikettSlice) ToSet() EtikettSet

type FuncAbbreviateString

type FuncAbbreviateString[V any, VPtr schnittstellen.Ptr[V]] func(VPtr) (string, error)

type FuncExpandString

type FuncExpandString func(string) (string, error)

TODO use catgut.String

type Gattung

type Gattung byte

func MakeGattung

func MakeGattung(vs ...gattung.Gattung) (s Gattung)

func MakeGattungAll

func MakeGattungAll() Gattung

func (*Gattung) Add

func (a *Gattung) Add(bs ...gattung.Gattung)

func (*Gattung) AddString

func (i *Gattung) AddString(v string) (err error)

func (Gattung) Byte

func (i Gattung) Byte() byte

func (Gattung) Contains

func (a Gattung) Contains(b schnittstellen.GattungGetter) bool

func (Gattung) ContainsOneOf

func (a Gattung) ContainsOneOf(b schnittstellen.GattungGetter) bool

func (*Gattung) Del

func (Gattung) Equals

func (a Gattung) Equals(b Gattung) bool

func (Gattung) EqualsAny

func (a Gattung) EqualsAny(b any) bool

func (Gattung) GetSha

func (i Gattung) GetSha() *sha.Sha

func (Gattung) IsEmpty

func (a Gattung) IsEmpty() bool

func (Gattung) ReadByte

func (i Gattung) ReadByte() (byte, error)

func (*Gattung) ReadFrom

func (i *Gattung) ReadFrom(r io.Reader) (n int64, err error)

func (*Gattung) Reset

func (a *Gattung) Reset()

func (*Gattung) ResetWith

func (a *Gattung) ResetWith(b Gattung)

func (*Gattung) Set

func (gs *Gattung) Set(v string) (err error)

func (*Gattung) SetTokens

func (g *Gattung) SetTokens(
	tokens ...string,
) (remainingTokens []string, err error)

func (Gattung) Slice

func (a Gattung) Slice() []gattung.Gattung

func (Gattung) String

func (a Gattung) String() string

func (*Gattung) WriteTo

func (i *Gattung) WriteTo(w io.Writer) (n int64, err error)

type Hinweis

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

func AsHinweis

func AsHinweis(f *fd.FD) (h Hinweis, ok bool)

func GetHinweis

func GetHinweis(f *fd.FD) (h Hinweis, err error)

func MakeHinweis

func MakeHinweis(v string) (h *Hinweis, err error)

func MakeHinweisKopfUndSchwanz

func MakeHinweisKopfUndSchwanz(kopf, schwanz string) (h *Hinweis, err error)

func MustHinweis

func MustHinweis(v string) (h *Hinweis)

func NewHinweis

func NewHinweis(
	i coordinates.Int,
	pl Provider,
	pr Provider,
) (h *Hinweis, err error)

TODO-P3 is this really necessary?;w

func NewHinweisEmpty

func NewHinweisEmpty() (h Hinweis)

func (Hinweis) Equals

func (a Hinweis) Equals(b Hinweis) bool

func (Hinweis) EqualsAny

func (a Hinweis) EqualsAny(b any) bool

func (Hinweis) GetGattung

func (h Hinweis) GetGattung() schnittstellen.GattungLike

func (Hinweis) Kopf

func (h Hinweis) Kopf() string

func (Hinweis) Less

func (i Hinweis) Less(j Hinweis) bool

func (Hinweis) MarshalBinary

func (t Hinweis) MarshalBinary() (text []byte, err error)

func (Hinweis) MarshalText

func (t Hinweis) MarshalText() (text []byte, err error)

func (Hinweis) Parts

func (h Hinweis) Parts() [3]string

func (*Hinweis) Reset

func (h *Hinweis) Reset()

func (*Hinweis) ResetWith

func (h *Hinweis) ResetWith(h1 Hinweis)

func (Hinweis) Schwanz

func (h Hinweis) Schwanz() string

func (*Hinweis) Set

func (h *Hinweis) Set(v string) (err error)

func (Hinweis) String

func (h Hinweis) String() string

func (*Hinweis) UnmarshalBinary

func (t *Hinweis) UnmarshalBinary(text []byte) (err error)

func (*Hinweis) UnmarshalText

func (t *Hinweis) UnmarshalText(text []byte) (err error)

type HinweisMutableSet

type HinweisMutableSet = schnittstellen.MutableSetLike[Hinweis]

func MakeHinweisMutableSet

func MakeHinweisMutableSet(hs ...Hinweis) HinweisMutableSet

type HinweisSet

type HinweisSet = schnittstellen.SetLike[Hinweis]

type Index

type Index struct{}

type IndexedEtikett

type IndexedEtikett = IndexedLike

type IndexedLike

type IndexedLike struct {
	Int            int
	Kennung        Kennung2
	SchwanzenCount int
	Count          int
}

func MakeIndexed

func MakeIndexed(k Kennung) (i *IndexedLike)

func (*IndexedLike) GetCount

func (k *IndexedLike) GetCount() int

func (*IndexedLike) GetInt

func (z *IndexedLike) GetInt() int

func (*IndexedLike) GetKennung

func (z *IndexedLike) GetKennung() Kennung

func (*IndexedLike) GetSchwanzenCount

func (k *IndexedLike) GetSchwanzenCount() int

func (*IndexedLike) Reset

func (z *IndexedLike) Reset()

func (*IndexedLike) ResetWithKennung

func (i *IndexedLike) ResetWithKennung(k Kennung)

type InlineTypChecker

type InlineTypChecker interface {
	IsInlineTyp(Typ) bool
}

type Kasten

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

func MakeKasten

func MakeKasten(v string) (e Kasten, err error)

func MustKasten

func MustKasten(v string) (e Kasten)

func (Kasten) Equals

func (a Kasten) Equals(b Kasten) bool

func (Kasten) EqualsAny

func (a Kasten) EqualsAny(b any) bool

func (Kasten) GetGattung

func (o Kasten) GetGattung() schnittstellen.GattungLike

func (Kasten) GetQueryPrefix

func (k Kasten) GetQueryPrefix() string

func (Kasten) MarshalBinary

func (t Kasten) MarshalBinary() (text []byte, err error)

func (Kasten) MarshalText

func (t Kasten) MarshalText() (text []byte, err error)

func (Kasten) Parts

func (k Kasten) Parts() [3]string

func (*Kasten) Reset

func (e *Kasten) Reset()

func (*Kasten) ResetWith

func (e *Kasten) ResetWith(e1 Kasten)

func (*Kasten) Set

func (e *Kasten) Set(v string) (err error)

func (Kasten) String

func (k Kasten) String() string

func (*Kasten) UnmarshalBinary

func (t *Kasten) UnmarshalBinary(text []byte) (err error)

func (*Kasten) UnmarshalText

func (t *Kasten) UnmarshalText(text []byte) (err error)

type KastenMutableSet

type KastenMutableSet = schnittstellen.MutableSetLike[Kasten]

func MakeKastenMutableSet

func MakeKastenMutableSet(ts ...Kasten) KastenMutableSet

type KastenSet

type KastenSet = schnittstellen.SetLike[Kasten]

func MakeKastenSet

func MakeKastenSet(ts ...Kasten) KastenSet

type Kennung

type Kennung interface {
	KennungSansGattung
	schnittstellen.GattungGetter
}

func GetIdLike

func GetIdLike(f *fd.FD) (il Kennung, err error)

type Kennung2

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

func MustKennung2

func MustKennung2(kp Kennung) (k *Kennung2)

func (*Kennung2) Abbreviate

func (k2 *Kennung2) Abbreviate(
	a Abbr,
) (err error)

func (*Kennung2) Equals

func (a *Kennung2) Equals(b *Kennung2) bool

func (*Kennung2) Expand

func (k2 *Kennung2) Expand(
	a Abbr,
) (err error)

func (*Kennung2) GetGattung

func (k2 *Kennung2) GetGattung() schnittstellen.GattungLike

func (*Kennung2) IsEmpty

func (k2 *Kennung2) IsEmpty() bool

func (*Kennung2) KopfUndSchwanz

func (k2 *Kennung2) KopfUndSchwanz() (kopf, schwanz string)

func (*Kennung2) Len

func (k2 *Kennung2) Len() int

func (*Kennung2) LenKopfUndSchwanz

func (k2 *Kennung2) LenKopfUndSchwanz() (int, int)

func (*Kennung2) MarshalBinary

func (t *Kennung2) MarshalBinary() (text []byte, err error)

func (*Kennung2) MarshalText

func (t *Kennung2) MarshalText() (text []byte, err error)

func (*Kennung2) Parts

func (k2 *Kennung2) Parts() [3]string

func (*Kennung2) PartsStrings

func (k2 *Kennung2) PartsStrings() KennungParts

func (*Kennung2) ReadFrom

func (k2 *Kennung2) ReadFrom(r io.Reader) (n int64, err error)

func (*Kennung2) Reset

func (k2 *Kennung2) Reset()

func (*Kennung2) ResetWith

func (a *Kennung2) ResetWith(b *Kennung2)

func (*Kennung2) ResetWithKennung

func (a *Kennung2) ResetWithKennung(b Kennung) (err error)

func (*Kennung2) Set

func (h *Kennung2) Set(v string) (err error)

func (*Kennung2) SetFromPath

func (k2 *Kennung2) SetFromPath(
	path string,
	fe file_extensions.FileExtensions,
) (err error)

func (*Kennung2) SetGattung

func (k2 *Kennung2) SetGattung(g schnittstellen.GattungGetter)

func (*Kennung2) SetWithGattung

func (h *Kennung2) SetWithGattung(
	v string,
	g schnittstellen.GattungGetter,
) (err error)

func (*Kennung2) SetWithKennung

func (h *Kennung2) SetWithKennung(
	k Kennung,
) (err error)

func (*Kennung2) String

func (k2 *Kennung2) String() string

func (*Kennung2) StringFromPtr

func (k2 *Kennung2) StringFromPtr() string

func (*Kennung2) TodoSetBytes

func (h *Kennung2) TodoSetBytes(v *catgut.String) (err error)

func (*Kennung2) UnmarshalBinary

func (t *Kennung2) UnmarshalBinary(text []byte) (err error)

func (*Kennung2) UnmarshalText

func (t *Kennung2) UnmarshalText(text []byte) (err error)

func (*Kennung2) WriteTo

func (k2 *Kennung2) WriteTo(w io.Writer) (n int64, err error)

type KennungLike

type KennungLike[T any] interface {
	Kennung
	schnittstellen.GattungGetter
	schnittstellen.Stringer
}

type KennungLikePtr

type KennungLikePtr[T KennungLike[T]] interface {
	schnittstellen.Ptr[T]
	KennungLike[T]
	KennungPtr
	schnittstellen.SetterPtr[T]
}

type KennungParts

type KennungParts struct {
	Middle      byte
	Left, Right *catgut.String
}

type KennungPtr

type KennungPtr interface {
	Kennung
	KennungSansGattungPtr
}

func Make

func Make(v string) (k KennungPtr, err error)

func MakeKennung2

func MakeKennung2(v string) (KennungPtr, error)

type KennungSansGattung

type KennungSansGattung interface {
	schnittstellen.Stringer
	Parts() [3]string
}

type KennungSansGattungPtr

type KennungSansGattungPtr interface {
	KennungSansGattung
	schnittstellen.Resetter
	schnittstellen.Setter
}

type Konfig

type Konfig struct{}

func (Konfig) Equals

func (a Konfig) Equals(b Konfig) bool

func (Konfig) EqualsAny

func (a Konfig) EqualsAny(b any) bool

func (Konfig) GetGattung

func (a Konfig) GetGattung() schnittstellen.GattungLike

func (Konfig) MarshalBinary

func (t Konfig) MarshalBinary() (text []byte, err error)

func (Konfig) MarshalText

func (t Konfig) MarshalText() (text []byte, err error)

func (Konfig) Parts

func (k Konfig) Parts() [3]string

func (*Konfig) Reset

func (a *Konfig) Reset()

func (*Konfig) ResetWith

func (a *Konfig) ResetWith(_ Konfig)

func (Konfig) Set

func (i Konfig) Set(v string) (err error)

func (Konfig) String

func (i Konfig) String() string

func (*Konfig) UnmarshalBinary

func (t *Konfig) UnmarshalBinary(text []byte) (err error)

func (*Konfig) UnmarshalText

func (t *Konfig) UnmarshalText(text []byte) (err error)

type Provider

type Provider interface {
	Hinweis(i coordinates.Int) (string, error)
}

type QueryPrefixer

type QueryPrefixer interface {
	GetQueryPrefix() string
}

type Sha

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

func MakeSha

func MakeSha(v string) (t Sha, err error)

func MustSha

func MustSha(v string) (t Sha)

func (*Sha) Equals

func (a *Sha) Equals(b *Sha) bool

func (*Sha) EqualsAny

func (a *Sha) EqualsAny(b any) bool

func (Sha) EqualsSha

func (a Sha) EqualsSha(b schnittstellen.ShaLike) bool

func (Sha) GetGattung

func (e Sha) GetGattung() schnittstellen.GattungLike

func (Sha) GetQueryPrefix

func (_ Sha) GetQueryPrefix() string

func (Sha) GetSha

func (t Sha) GetSha() Sha

func (Sha) GetShaBytes

func (t Sha) GetShaBytes() []byte

func (Sha) GetShaLike

func (t Sha) GetShaLike() schnittstellen.ShaLike

func (Sha) GetShaString

func (t Sha) GetShaString() string

func (Sha) IsNull

func (t Sha) IsNull() bool

func (Sha) Kopf

func (t Sha) Kopf() string

func (Sha) MarshalBinary

func (t Sha) MarshalBinary() (text []byte, err error)

func (Sha) MarshalText

func (t Sha) MarshalText() (text []byte, err error)

func (Sha) Parts

func (t Sha) Parts() [3]string

func (*Sha) Reset

func (t *Sha) Reset()

func (*Sha) ResetWith

func (a *Sha) ResetWith(b Sha)

func (Sha) Schwanz

func (t Sha) Schwanz() string

func (*Sha) Set

func (e *Sha) Set(v string) (err error)

func (Sha) String

func (e Sha) String() string

func (*Sha) UnmarshalBinary

func (t *Sha) UnmarshalBinary(text []byte) (err error)

func (*Sha) UnmarshalText

func (t *Sha) UnmarshalText(text []byte) (err error)

type ShaLike

type ShaLike interface {
	GetSha() Sha
}

func MakeShaLike

func MakeShaLike(v string) (t ShaLike, err error)

type Sigil

type Sigil byte

func MakeSigil

func MakeSigil(vs ...Sigil) (s Sigil)

func (*Sigil) Add

func (a *Sigil) Add(b Sigil)

func (Sigil) Byte

func (i Sigil) Byte() byte

func (Sigil) Contains

func (a Sigil) Contains(b Sigil) bool

func (Sigil) ContainsOneOf

func (a Sigil) ContainsOneOf(b Sigil) bool

func (*Sigil) Del

func (a *Sigil) Del(b Sigil)

func (Sigil) Equals

func (a Sigil) Equals(b Sigil) bool

func (Sigil) EqualsAny

func (a Sigil) EqualsAny(b any) bool

func (Sigil) GetGattung

func (a Sigil) GetGattung() schnittstellen.GattungLike

func (Sigil) GetSha

func (i Sigil) GetSha() *sha.Sha

func (Sigil) GetSigil

func (a Sigil) GetSigil() schnittstellen.Sigil

func (*Sigil) GetSigilPtr

func (a *Sigil) GetSigilPtr() *Sigil

func (Sigil) IncludesCwd

func (a Sigil) IncludesCwd() bool

func (Sigil) IncludesHidden

func (a Sigil) IncludesHidden() bool

func (Sigil) IncludesHistory

func (a Sigil) IncludesHistory() bool

func (Sigil) IncludesSchwanzen

func (a Sigil) IncludesSchwanzen() bool

func (*Sigil) IsEmpty

func (a *Sigil) IsEmpty() bool

func (Sigil) IsSchwanzenOrUnknown

func (a Sigil) IsSchwanzenOrUnknown() bool

func (Sigil) ReadByte

func (i Sigil) ReadByte() (byte, error)

func (*Sigil) ReadFrom

func (i *Sigil) ReadFrom(r io.Reader) (n int64, err error)

func (*Sigil) Reset

func (a *Sigil) Reset()

func (*Sigil) ResetWith

func (a *Sigil) ResetWith(b Sigil)

func (*Sigil) Set

func (i *Sigil) Set(v string) (err error)

func (Sigil) String

func (a Sigil) String() string

func (*Sigil) WriteTo

func (i *Sigil) WriteTo(w io.Writer) (n int64, err error)

type Tai

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

func NowTai

func NowTai() Tai

func TaiFromTime

func TaiFromTime(t1 thyme.Time) (t2 Tai)

func TaiFromTime1

func TaiFromTime1(t1 time.Time) (t2 Tai)

func TaiFromTimeWithIndex

func TaiFromTimeWithIndex(t1 thyme.Time, n int) (t2 Tai)

func (Tai) AsTime

func (t Tai) AsTime() (t1 thyme.Time)

func (Tai) Equals

func (t Tai) Equals(t1 Tai) bool

func (Tai) EqualsAny

func (a Tai) EqualsAny(b any) bool

func (Tai) Format

func (t Tai) Format(v string) string

func (Tai) GetGattung

func (t Tai) GetGattung() schnittstellen.GattungLike

func (Tai) IsEmpty

func (t Tai) IsEmpty() (ok bool)

func (Tai) IsZero

func (t Tai) IsZero() (ok bool)

func (Tai) Less

func (t Tai) Less(t1 Tai) bool

func (Tai) MarshalBinary

func (t Tai) MarshalBinary() (text []byte, err error)

func (Tai) MarshalText

func (t Tai) MarshalText() (text []byte, err error)

func (Tai) Parts

func (t Tai) Parts() [3]string

func (*Tai) ReadFrom

func (t *Tai) ReadFrom(r io.Reader) (n int64, err error)

func (*Tai) Reset

func (t *Tai) Reset()

func (*Tai) ResetWith

func (t *Tai) ResetWith(b Tai)

func (*Tai) Set

func (t *Tai) Set(v string) (err error)

func (*Tai) SetFromRFC3339

func (t *Tai) SetFromRFC3339(v string) (err error)

func (Tai) String

func (t Tai) String() (v string)

func (Tai) StringDefaultFormat

func (t Tai) StringDefaultFormat() string

func (*Tai) UnmarshalBinary

func (t *Tai) UnmarshalBinary(text []byte) (err error)

func (*Tai) UnmarshalText

func (t *Tai) UnmarshalText(text []byte) (err error)

func (Tai) WriteTo

func (t Tai) WriteTo(w io.Writer) (n int64, err error)

type Typ

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

func MakeTyp

func MakeTyp(v string) (t Typ, err error)

func MustTyp

func MustTyp(v string) (t Typ)

func (Typ) Equals

func (a Typ) Equals(b Typ) bool

func (Typ) EqualsAny

func (a Typ) EqualsAny(b any) bool

func (Typ) GetGattung

func (o Typ) GetGattung() schnittstellen.GattungLike

func (Typ) GetTyp

func (t Typ) GetTyp() Typ

func (*Typ) GetTypPtr

func (t *Typ) GetTypPtr() *Typ

func (Typ) IsEmpty

func (t Typ) IsEmpty() bool

func (Typ) IsToml

func (t Typ) IsToml() bool

func (Typ) MarshalBinary

func (t Typ) MarshalBinary() (text []byte, err error)

func (Typ) MarshalText

func (t Typ) MarshalText() (text []byte, err error)

func (Typ) Parts

func (t Typ) Parts() [3]string

func (*Typ) Reset

func (t *Typ) Reset()

func (*Typ) ResetWith

func (a *Typ) ResetWith(b Typ)

func (*Typ) Set

func (e *Typ) Set(v string) (err error)

func (Typ) String

func (e Typ) String() string

func (*Typ) TodoSetFromKennung2

func (e *Typ) TodoSetFromKennung2(v *Kennung2) (err error)

func (*Typ) UnmarshalBinary

func (t *Typ) UnmarshalBinary(text []byte) (err error)

func (*Typ) UnmarshalText

func (t *Typ) UnmarshalText(text []byte) (err error)

type TypLike

type TypLike interface {
	GetTyp() Typ
	GetTypPtr() *Typ
}

type TypMutableSet

type TypMutableSet = schnittstellen.MutableSetPtrLike[Typ, *Typ]

func MakeMutableTypSet

func MakeMutableTypSet(hs ...Typ) TypMutableSet

func MakeTypMutableSet

func MakeTypMutableSet(hs ...Typ) TypMutableSet

type TypSet

type TypSet = schnittstellen.SetPtrLike[Typ, *Typ]

func MakeTypSet

func MakeTypSet(es ...Typ) (s TypSet)

func MakeTypSetStrings

func MakeTypSetStrings(vs ...string) (s TypSet, err error)

Jump to

Keyboard shortcuts

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