makefs

package
v0.0.0-...-b2d581b Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2020 License: MIT Imports: 5 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 {
	afero.Fs
	// contains filtered or unexported fields
}

func New

func New(readFs, writeFs afero.Fs) *Fs

func (*Fs) Open

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

func (*Fs) OpenFile

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

func (*Fs) Register

func (f *Fs) Register(dstExt, srcExt string, fn transformFn)

func (*Fs) Stat

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

Jump to

Keyboard shortcuts

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