memfs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemFS

type MemFS struct {
	*memoryfs.FS
}

func NewMemFs

func NewMemFs() MemFS

func (*MemFS) MakeFileDirOutFnInPath

func (m *MemFS) MakeFileDirOutFnInPath(p *filepaths.Path, content []byte) error

func (*MemFS) MakeFileIn

func (m *MemFS) MakeFileIn(p *filepaths.Path, content []byte) error

func (*MemFS) MakeFileOut

func (m *MemFS) MakeFileOut(p *filepaths.Path, content []byte) error

func (*MemFS) MkPathDirAll

func (m *MemFS) MkPathDirAll(p *filepaths.Path) error

func (*MemFS) ReadFileInPath

func (m *MemFS) ReadFileInPath(p *filepaths.Path) ([]byte, error)

func (*MemFS) ReadFileOutPath

func (m *MemFS) ReadFileOutPath(p *filepaths.Path) ([]byte, error)

Jump to

Keyboard shortcuts

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