Documentation ¶
Overview ¶
Package composefs provides a virtual filesystem implementation for orchestrating multiple other virtual filesystems to a single one.
Index ¶
- type ComposedFileSystem
- func (c *ComposedFileSystem) Cleanup() error
- func (c *ComposedFileSystem) FSTempDir() string
- func (c *ComposedFileSystem) Mount(path string, fs vfs.FileSystem) error
- func (c *ComposedFileSystem) MountTempDir(path string) (string, error)
- func (c *ComposedFileSystem) MountTempFileSysten(path string, fs vfs.FileSystem) (string, error)
- func (c *ComposedFileSystem) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComposedFileSystem ¶
type ComposedFileSystem struct { *utils.MappedFileSystem // contains filtered or unexported fields }
func New ¶
func New(root vfs.FileSystem, temp ...string) *ComposedFileSystem
func (*ComposedFileSystem) Cleanup ¶
func (c *ComposedFileSystem) Cleanup() error
func (*ComposedFileSystem) FSTempDir ¶
func (c *ComposedFileSystem) FSTempDir() string
func (*ComposedFileSystem) Mount ¶
func (c *ComposedFileSystem) Mount(path string, fs vfs.FileSystem) error
func (*ComposedFileSystem) MountTempDir ¶
func (c *ComposedFileSystem) MountTempDir(path string) (string, error)
func (*ComposedFileSystem) MountTempFileSysten ¶
func (c *ComposedFileSystem) MountTempFileSysten(path string, fs vfs.FileSystem) (string, error)
func (*ComposedFileSystem) Name ¶
func (c *ComposedFileSystem) Name() string
Click to show internal directories.
Click to hide internal directories.