Documentation ¶
Index ¶
- Constants
- func MakeHashWriter() (h hash.Hash)
- func MakeReadCloser(r io.Reader) (src readCloser)
- func MakeReadCloserTee(r io.Reader, w io.Writer) (src readCloser)
- func MakeWriter(in io.Writer) (out *writer)
- func NopAkteFactory() schnittstellen.AkteIOFactory
- type PathComponents
- type ReadCloser
- type Sha
- func FromFormatString(f string, vs ...interface{}) Sha
- func FromHash(h hash.Hash) (s Sha)
- func FromString(s string) Sha
- func FromStringer(v schnittstellen.Stringer) Sha
- func Make(s schnittstellen.ShaLike) Sha
- func MakeSha(v string) (s Sha, err error)
- func MakeShaFromPath(p string) (s Sha, err error)
- func Must(v string) (s Sha)
- func (a Sha) Equals(b Sha) bool
- func (a Sha) EqualsAny(b any) bool
- func (a Sha) EqualsSha(b schnittstellen.ShaLike) bool
- func (s Sha) GetShaLike() schnittstellen.ShaLike
- func (s Sha) GetShaString() string
- func (s Sha) IsNull() bool
- func (s Sha) Kopf() string
- func (s Sha) MarshalBinary() (text []byte, err error)
- func (s Sha) MarshalText() (text []byte, err error)
- func (s Sha) Path(pc ...string) string
- func (s *Sha) Reset()
- func (s *Sha) ResetWith(s1 Sha)
- func (s *Sha) ResetWithShaLike(s1 schnittstellen.ShaLike)
- func (s Sha) Schwanz() string
- func (s *Sha) Set(v string) (err error)
- func (s *Sha) SetParts(a, b string) (err error)
- func (s Sha) Sha() Sha
- func (s Sha) String() string
- func (s *Sha) UnmarshalBinary(text []byte) (err error)
- func (s *Sha) UnmarshalText(text []byte) (err error)
- type ShaLike
- type WriteCloser
Constants ¶
View Source
const ( // TODO-P3 remove ShaNull = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" Null = ShaNull )
Variables ¶
This section is empty.
Functions ¶
func MakeHashWriter ¶
func MakeReadCloser ¶
func MakeWriter ¶
func NopAkteFactory ¶
func NopAkteFactory() schnittstellen.AkteIOFactory
Types ¶
type PathComponents ¶
type PathComponents interface {
PathComponents() []string
}
type ReadCloser ¶
type ReadCloser = schnittstellen.ShaReadCloser
TODO-P4 remove
func MakeNopReadCloser ¶
func MakeNopReadCloser(rc io.ReadCloser) ReadCloser
type Sha ¶
type Sha struct {
// contains filtered or unexported fields
}
func FromFormatString ¶
func FromString ¶
func FromStringer ¶
func FromStringer(v schnittstellen.Stringer) Sha
func Make ¶
func Make(s schnittstellen.ShaLike) Sha
func MakeShaFromPath ¶
func (Sha) GetShaLike ¶
func (s Sha) GetShaLike() schnittstellen.ShaLike
func (Sha) GetShaString ¶
func (Sha) MarshalBinary ¶
func (Sha) MarshalText ¶
func (*Sha) ResetWithShaLike ¶
func (s *Sha) ResetWithShaLike(s1 schnittstellen.ShaLike)
func (*Sha) UnmarshalBinary ¶
func (*Sha) UnmarshalText ¶
type ShaLike ¶
type ShaLike = schnittstellen.ShaGetter
Click to show internal directories.
Click to hide internal directories.