vdirfs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 6 Imported by: 1

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 vfs.FileSystem) (*FS, error)

func (*FS) AddPath

func (f *FS) AddPath(name string) error

func (*FS) Lstat

func (f *FS) Lstat(path string) (os.FileInfo, error)

func (*FS) Mkdir

func (f *FS) Mkdir(path string, perm os.FileMode) error

func (*FS) Open

func (f *FS) Open(name string) (fs.File, error)

func (*FS) OpenFile

func (f *FS) OpenFile(path string, flag int, perm os.FileMode) (fs.File, error)

func (*FS) Remove

func (f *FS) Remove(path string) error

func (*FS) Stat

func (f *FS) Stat(path string) (os.FileInfo, error)

Jump to

Keyboard shortcuts

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