browserfs

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct{}

func NewFS

func NewFS() FS

func (FS) Mkdir

func (s FS) Mkdir(name string, _ fs.FileMode) error

func (FS) Open

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

func (FS) ReadDir

func (s FS) ReadDir(name string) ([]fs.DirEntry, error)

func (FS) Remove

func (s FS) Remove(name string) error

func (FS) Stat

func (s FS) Stat(name string) (fs.FileInfo, error)

func (FS) WriteFile

func (s FS) WriteFile(name string, src io.Reader, _ fs.FileMode) error

Jump to

Keyboard shortcuts

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