mapped

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 6 Imported by: 0 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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