Documentation ¶
Overview ¶
Package projectionfs implements virtual filesystems based on a dedicated directory of a base filesystem.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(base vfs.FileSystem, path string) (vfs.FileSystem, error)
func Root ¶
func Root(fs vfs.FileSystem) string
Types ¶
type ProjectionFileSystem ¶
type ProjectionFileSystem struct { *utils.MappedFileSystem // contains filtered or unexported fields }
func (*ProjectionFileSystem) Name ¶
func (p *ProjectionFileSystem) Name() string
func (*ProjectionFileSystem) Projection ¶
func (p *ProjectionFileSystem) Projection() string
func (*ProjectionFileSystem) Root ¶
func (p *ProjectionFileSystem) Root() string
Click to show internal directories.
Click to hide internal directories.