Documentation ¶
Index ¶
- func NewReader(o ReadOptions) (r *reader, err error)
- func NewWriter(o WriteOptions) (w *writer, err error)
- type Akten
- type ErrAlreadyExists
- type ErrNotInZitDir
- type FileReadOptions
- type Getter
- type MoveOptions
- type Mover
- type MoverLight
- type Options
- type ReadOptions
- type Reader
- type Standort
- func (s *Standort) Age() *age.Age
- func (s Standort) AkteReader(sh sha.ShaLike) (r sha.ReadCloser, err error)
- func (s Standort) AkteReaderFile(sh sha.ShaLike) (f *os.File, err error)
- func (s Standort) AkteReaderFrom(sh sha.ShaLike, p string) (r sha.ReadCloser, err error)
- func (s Standort) AkteWriter() (w sha.WriteCloser, err error)
- func (s Standort) AkteWriterTo(p string) (w sha.WriteCloser, err error)
- func (s Standort) AkteWriterToLight(p string) (w sha.WriteCloser, err error)
- func (s Standort) Cwd() string
- func (s Standort) Dir(p ...string) string
- func (s Standort) DirKennung() string
- func (s Standort) DirObjekten(p ...string) string
- func (s Standort) DirObjekten2(p ...string) string
- func (s Standort) DirObjektenGattung(sv schnittstellen.StoreVersion, g schnittstellen.GattungGetter) (p string, err error)
- func (s Standort) DirObjektenTransaktion() string
- func (s Standort) DirTempLocal() string
- func (s Standort) DirTempOS() (d string, err error)
- func (s Standort) DirVerlorenUndGefunden() string
- func (s Standort) DirVerzeichnisse(p ...string) string
- func (s Standort) DirVerzeichnisseDurable(p ...string) string
- func (s Standort) DirVerzeichnisseMetadatei() string
- func (s Standort) DirVerzeichnisseMetadateiKennungMutter() string
- func (s Standort) DirVerzeichnisseObjekten() string
- func (s Standort) DirVerzeichnisseVerweise() string
- func (s Standort) DirZit(p ...string) string
- func (s Standort) Executable() string
- func (s Standort) FifoPipe() (p string, err error)
- func (s Standort) FileAge() string
- func (c Standort) FileKonfigAngeboren() string
- func (c Standort) FileKonfigCompiled() string
- func (c Standort) FileKonfigErworben() string
- func (c Standort) FileKonfigToml() string
- func (s Standort) FileTempLocal() (f *os.File, err error)
- func (s Standort) FileTempLocalWithTemplate(t string) (f *os.File, err error)
- func (s Standort) FileTempOS() (f *os.File, err error)
- func (s Standort) FileVerzeichnisseEtiketten() string
- func (s Standort) FileVerzeichnisseHinweis() string
- func (s Standort) FileVerzeichnisseKennung() string
- func (s Standort) GetKonfig() angeboren.Konfig
- func (s Standort) GetLockSmith() schnittstellen.LockSmith
- func (s Standort) HasAkte(sv schnittstellen.StoreVersion, sh sha.ShaLike) (ok bool)
- func (s Standort) HasObjekte(sv schnittstellen.StoreVersion, g schnittstellen.GattungGetter, sh sha.ShaLike) (ok bool)
- func (s Standort) MakeDir(d string) (err error)
- func (s Standort) MakeRelativePathStringFormatWriter() schnittstellen.StringFormatWriter[string]
- func (s Standort) MakeWriterRelativePath(p string) schnittstellen.FuncWriter
- func (s Standort) MakeWriterRelativePathOr(p string, or schnittstellen.FuncWriter) schnittstellen.FuncWriter
- func (s Standort) NewMover(o MoveOptions) (m *Mover, err error)
- func (s Standort) NewMoverLight(o MoveOptions) (m *MoverLight, err error)
- func (s Standort) ObjekteReaderFactory(g schnittstellen.GattungGetter) schnittstellen.ObjekteReaderFactory
- func (s Standort) ObjekteReaderWriterFactory(g schnittstellen.GattungGetter) schnittstellen.ObjekteIOFactory
- func (s Standort) ReadAllLevel2Files(p string, w schnittstellen.FuncIter[string]) (err error)
- func (s Standort) ReadAllShas(p string, w schnittstellen.FuncIter[*sha.Sha]) (err error)
- func (s Standort) ReadAllShasForGattung(sv schnittstellen.StoreVersion, g schnittstellen.GattungGetter, ...) (err error)
- func (s Standort) ReadCloserObjekten(p string) (sha.ReadCloser, error)
- func (s Standort) ReadCloserVerzeichnisse(p string) (sha.ReadCloser, error)
- func (s Standort) Rel(p string) (out string)
- func (s Standort) RelToCwdOrSame(p string) (p1 string)
- func (s Standort) ResetTemp() (err error)
- func (s Standort) ResetVerzeichnisse() (err error)
- func (a Standort) SansAge() (b Standort)
- func (a Standort) SansCompression() (b Standort)
- func (s Standort) WriteCloserObjekten(p string) (w sha.WriteCloser, err error)
- func (s Standort) WriteCloserVerzeichnisse(p string) (w sha.WriteCloser, err error)
- type WriteOptions
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReader ¶
func NewReader(o ReadOptions) (r *reader, err error)
func NewWriter ¶
func NewWriter(o WriteOptions) (w *writer, err error)
Types ¶
type ErrAlreadyExists ¶
func MakeErrAlreadyExists ¶
func MakeErrAlreadyExists( sh schnittstellen.ShaLike, path string, ) (err *ErrAlreadyExists)
func (*ErrAlreadyExists) Error ¶
func (e *ErrAlreadyExists) Error() string
func (*ErrAlreadyExists) Is ¶
func (e *ErrAlreadyExists) Is(target error) bool
type ErrNotInZitDir ¶
type ErrNotInZitDir struct{}
func (ErrNotInZitDir) Error ¶
func (e ErrNotInZitDir) Error() string
func (ErrNotInZitDir) Is ¶
func (e ErrNotInZitDir) Is(target error) (ok bool)
func (ErrNotInZitDir) ShouldShowStackTrace ¶
func (e ErrNotInZitDir) ShouldShowStackTrace() bool
type FileReadOptions ¶
type FileReadOptions struct { *age.Age CompressionType angeboren.CompressionType Path string }
type MoveOptions ¶
type MoverLight ¶
type MoverLight struct { CompressionType angeboren.CompressionType // contains filtered or unexported fields }
func (*MoverLight) Close ¶
func (m *MoverLight) Close() (err error)
func (*MoverLight) GetShaLike ¶
func (m *MoverLight) GetShaLike() schnittstellen.ShaLike
func (*MoverLight) Write ¶
func (m *MoverLight) Write(p []byte) (n int, err error)
type Options ¶
type ReadOptions ¶
type Reader ¶
type Reader interface { sha.ReadCloser }
func NewFileReader ¶
func NewFileReader(o FileReadOptions) (r Reader, err error)
type Standort ¶
type Standort struct {
// contains filtered or unexported fields
}
func (Standort) AkteReader ¶
func (Standort) AkteReaderFile ¶
func (Standort) AkteReaderFrom ¶
func (Standort) AkteWriter ¶
func (s Standort) AkteWriter() (w sha.WriteCloser, err error)
func (Standort) AkteWriterTo ¶
func (s Standort) AkteWriterTo(p string) (w sha.WriteCloser, err error)
func (Standort) AkteWriterToLight ¶
func (s Standort) AkteWriterToLight(p string) (w sha.WriteCloser, err error)
func (Standort) DirObjektenGattung ¶
func (s Standort) DirObjektenGattung( sv schnittstellen.StoreVersion, g schnittstellen.GattungGetter, ) (p string, err error)
func (Standort) DirVerzeichnisseDurable ¶
func (Standort) DirVerzeichnisseMetadateiKennungMutter ¶
func (Standort) FileTempLocalWithTemplate ¶
func (Standort) GetLockSmith ¶
func (s Standort) GetLockSmith() schnittstellen.LockSmith
func (Standort) HasAkte ¶
func (s Standort) HasAkte( sv schnittstellen.StoreVersion, sh sha.ShaLike, ) (ok bool)
func (Standort) HasObjekte ¶
func (s Standort) HasObjekte( sv schnittstellen.StoreVersion, g schnittstellen.GattungGetter, sh sha.ShaLike, ) (ok bool)
func (Standort) MakeRelativePathStringFormatWriter ¶
func (s Standort) MakeRelativePathStringFormatWriter() schnittstellen.StringFormatWriter[string]
func (Standort) MakeWriterRelativePath ¶
func (s Standort) MakeWriterRelativePath( p string, ) schnittstellen.FuncWriter
func (Standort) MakeWriterRelativePathOr ¶
func (s Standort) MakeWriterRelativePathOr( p string, or schnittstellen.FuncWriter, ) schnittstellen.FuncWriter
func (Standort) NewMover ¶
func (s Standort) NewMover(o MoveOptions) (m *Mover, err error)
func (Standort) NewMoverLight ¶
func (s Standort) NewMoverLight(o MoveOptions) (m *MoverLight, err error)
func (Standort) ObjekteReaderFactory ¶
func (s Standort) ObjekteReaderFactory( g schnittstellen.GattungGetter, ) schnittstellen.ObjekteReaderFactory
func (Standort) ObjekteReaderWriterFactory ¶
func (s Standort) ObjekteReaderWriterFactory( g schnittstellen.GattungGetter, ) schnittstellen.ObjekteIOFactory
func (Standort) ReadAllLevel2Files ¶
func (Standort) ReadAllShas ¶
func (Standort) ReadAllShasForGattung ¶
func (s Standort) ReadAllShasForGattung( sv schnittstellen.StoreVersion, g schnittstellen.GattungGetter, w schnittstellen.FuncIter[*sha.Sha], ) (err error)
func (Standort) ReadCloserObjekten ¶
func (s Standort) ReadCloserObjekten(p string) (sha.ReadCloser, error)
func (Standort) ReadCloserVerzeichnisse ¶
func (s Standort) ReadCloserVerzeichnisse(p string) (sha.ReadCloser, error)
type WriteOptions ¶
type Writer ¶
type Writer interface { sha.WriteCloser }
Click to show internal directories.
Click to hide internal directories.