Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemUnionFs ¶
type MemUnionFs struct {
// contains filtered or unexported fields
}
A unionfs that only uses on-disk backing store for file contents.
func NewMemUnionFs ¶
func NewMemUnionFs(backingStore string, roFs pathfs.FileSystem) (*MemUnionFs, error)
NewMemUnionFs instantiates a new union file system. Calling this will access the root of the supplied R/O filesystem.
func (*MemUnionFs) Reap ¶
func (me *MemUnionFs) Reap() map[string]*Result
func (*MemUnionFs) Reset ¶
func (me *MemUnionFs) Reset()
Reset drops the state of the filesystem back its original.
func (*MemUnionFs) Root ¶
func (me *MemUnionFs) Root() nodefs.Node
func (*MemUnionFs) Update ¶
func (me *MemUnionFs) Update(results map[string]*Result)
Click to show internal directories.
Click to hide internal directories.