Documentation ¶
Index ¶
- Constants
- func SetAddPairs[T FDPairGetter](in schnittstellen.SetLike[T], out MutableSet) (err error)
- type AkteFDGetter
- type AkteFDSetter
- type FD
- func FDFromDir(p string) (fd *FD, err error)
- func FDFromPath(p string) (fd *FD, err error)
- func FDFromPathWithAkteWriterFactory(p string, awf schnittstellen.AkteWriterFactory) (fd *FD, err error)
- func File(f *os.File) (fd *FD, err error)
- func FileInfo(fi os.FileInfo, dir string) (fd *FD, err error)
- func MakeFile(dir string, p string, awf schnittstellen.AkteWriterFactory) (ut *FD, err error)
- func MakeFileFromFD(fd *FD, awf schnittstellen.AkteWriterFactory) (ut *FD, err error)
- func (a *FD) Equals(b *FD) bool
- func (a *FD) EqualsAny(b any) bool
- func (e *FD) Ext() string
- func (e *FD) ExtSansDot() string
- func (e *FD) FileNameSansExt() string
- func (fd *FD) GetPath() string
- func (fd *FD) GetShaLike() schnittstellen.ShaLike
- func (fd *FD) GetState() State
- func (fd *FD) IsDir() bool
- func (f *FD) IsEmpty() bool
- func (fd *FD) Parts() [3]string
- func (fd *FD) Reset()
- func (dst *FD) ResetWith(src *FD)
- func (fd *FD) Set(v string) (err error)
- func (f *FD) SetFileInfo(fi os.FileInfo, dir string) (err error)
- func (fd *FD) SetPath(p string) (err error)
- func (fd *FD) SetPathRel(p, dir string) (err error)
- func (fd *FD) SetShaLike(v schnittstellen.ShaLike) (err error)
- func (fd *FD) SetWithAkteWriterFactory(p string, awf schnittstellen.AkteWriterFactory) (err error)
- func (f *FD) String() string
- type FDPairGetter
- type KeyerSha
- type MutableSet
- type ObjekteFDGetter
- type Set
- type State
Constants ¶
View Source
const ( StateUnknown = state(iota) StateFileInfo StateRead )
Variables ¶
This section is empty.
Functions ¶
func SetAddPairs ¶
func SetAddPairs[T FDPairGetter]( in schnittstellen.SetLike[T], out MutableSet, ) (err error)
Types ¶
type FD ¶
type FD struct {
// contains filtered or unexported fields
}
func FDFromPathWithAkteWriterFactory ¶
func FDFromPathWithAkteWriterFactory( p string, awf schnittstellen.AkteWriterFactory, ) (fd *FD, err error)
func MakeFile ¶
func MakeFile( dir string, p string, awf schnittstellen.AkteWriterFactory, ) (ut *FD, err error)
func MakeFileFromFD ¶
func MakeFileFromFD( fd *FD, awf schnittstellen.AkteWriterFactory, ) (ut *FD, err error)
func (*FD) GetShaLike ¶
func (fd *FD) GetShaLike() schnittstellen.ShaLike
func (*FD) SetShaLike ¶
func (fd *FD) SetShaLike(v schnittstellen.ShaLike) (err error)
func (*FD) SetWithAkteWriterFactory ¶
func (fd *FD) SetWithAkteWriterFactory( p string, awf schnittstellen.AkteWriterFactory, ) (err error)
type FDPairGetter ¶
type FDPairGetter interface { ObjekteFDGetter AkteFDGetter }
type KeyerSha ¶
type KeyerSha struct{}
type MutableSet ¶
type MutableSet = schnittstellen.MutableSetLike[*FD]
func MakeMutableSet ¶
func MakeMutableSet(ts ...*FD) MutableSet
func MakeMutableSetSha ¶
func MakeMutableSetSha() MutableSet
type State ¶
type State interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.