fs

package
v0.0.0-...-1d70491 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(fs billy.Filesystem, path string, contents []byte) error

Append docs (TODO) - path MUST be an absolute path.

func Create

func Create(fs billy.Filesystem, path string, contents []byte) error

Create docs (TODO) - path MUST be an absolute path.

func Mkdir

func Mkdir(fs billy.Filesystem, path string) error

Mkdir docs (TODO) - path MUST be an absolute path.

func Read

func Read(fs billy.Filesystem, path string) ([]byte, error)

Read docs (TODO) - path MUST be an absolute path.

func RemoveAll

func RemoveAll(fs billy.Filesystem, path string) error

RemoveAll docs (TODO) - path MUST be an absolute path.

func Walk

func Walk(fs billy.Filesystem, root string, walkFn filepath.WalkFunc) error

func WriteFile

func WriteFile(fs billy.Filesystem, filename string, data []byte, perm os.FileMode) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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