afero

package module
v3.0.0-...-13448e4 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AferoFS

type AferoFS struct {
	// contains filtered or unexported fields
}

func NewFS

func NewFS(fs afero.Fs, basePath string) *AferoFS

func (*AferoFS) Exists

func (f *AferoFS) Exists(path string) (exists bool, err error)

func (*AferoFS) Get

func (f *AferoFS) Get(path string) ([]byte, error)

func (*AferoFS) Put

func (f *AferoFS) Put(path string, data []byte) (err error)

Jump to

Keyboard shortcuts

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