readonlyfs

package
v0.0.0-...-9a67539 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 4 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 {
	fs.FS
}

func New

func New(fsys fs.FS) *FS

func (*FS) Chmod

func (r *FS) Chmod(n string, m fs.FileMode) error

func (*FS) Chown

func (r *FS) Chown(n string, uid, gid int) error

func (*FS) Chtimes

func (r *FS) Chtimes(n string, a, m time.Time) error

func (*FS) Create

func (r *FS) Create(n string) (fs.File, error)

func (*FS) Mkdir

func (r *FS) Mkdir(n string, p fs.FileMode) error

func (*FS) MkdirAll

func (r *FS) MkdirAll(n string, p fs.FileMode) error

func (*FS) OpenFile

func (r *FS) OpenFile(name string, flag int, perm fs.FileMode) (fs.File, error)

func (*FS) Remove

func (r *FS) Remove(n string) error

func (*FS) RemoveAll

func (r *FS) RemoveAll(p string) error

func (*FS) Rename

func (r *FS) Rename(o, n string) error

Jump to

Keyboard shortcuts

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