mountFS

package
v3.0.40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MountFS

type MountFS struct {
	fs.FS
	// contains filtered or unexported fields
}

func NewMountFS

func NewMountFS(base fs.FS) *MountFS

func (*MountFS) Close

func (m *MountFS) Close() error

func (*MountFS) Mount

func (m *MountFS) Mount(dir string, fsys fs.FS) error

func (*MountFS) Open

func (m *MountFS) Open(name string) (fs.File, error)

func (*MountFS) ReadDir

func (m *MountFS) ReadDir(name string) ([]fs.DirEntry, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL