mapped

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CutPrefix

func CutPrefix(s, prefix string) (after string, found bool)

func NewFs

func NewFs(m map[string]afero.Fs) afero.Fs

Types

type Fs

type Fs map[string]afero.Fs

func (Fs) Chmod

func (f Fs) Chmod(name string, mode os.FileMode) error

Chmod implements afero.Fs.

func (Fs) Chown

func (f Fs) Chown(name string, uid int, gid int) error

Chown implements afero.Fs.

func (Fs) Chtimes

func (f Fs) Chtimes(name string, atime time.Time, mtime time.Time) error

Chtimes implements afero.Fs.

func (Fs) Create

func (f Fs) Create(name string) (afero.File, error)

Create implements afero.Fs.

func (Fs) Mkdir

func (f Fs) Mkdir(name string, perm os.FileMode) error

Mkdir implements afero.Fs.

func (Fs) MkdirAll

func (f Fs) MkdirAll(path string, perm os.FileMode) error

MkdirAll implements afero.Fs.

func (Fs) Name

func (f Fs) Name() string

Name implements afero.Fs.

func (Fs) Open

func (f Fs) Open(name string) (afero.File, error)

Open implements afero.Fs.

func (Fs) OpenFile

func (f Fs) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error)

OpenFile implements afero.Fs.

func (Fs) Remove

func (f Fs) Remove(name string) error

Remove implements afero.Fs.

func (Fs) RemoveAll

func (f Fs) RemoveAll(path string) error

RemoveAll implements afero.Fs.

func (Fs) Rename

func (f Fs) Rename(oldname string, newname string) error

Rename implements afero.Fs.

func (Fs) Stat

func (f Fs) Stat(name string) (os.FileInfo, error)

Stat implements afero.Fs.

Jump to

Keyboard shortcuts

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