Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
func New ¶
func New() *FS
New creates an empty multifs.FS object. You will need to call Mount() to add other filesystems
func (*FS) Mount ¶
Mount associates prefix with another fs.FS. For example if you mount "/foo" with an fs.FS that contains files with names such as "/bar/baz.txt", you would be able to access them via "/foo/bar/baz.txt".
Mount currently only understands linux-style paths (technically it uses "path" package).
Click to show internal directories.
Click to hide internal directories.