filesystem

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filesystem

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

func NewFilesystem

func NewFilesystem(log logging.Logger) *Filesystem

func (*Filesystem) Chdir added in v0.0.3

func (*Filesystem) Chdir(dir string) error

func (*Filesystem) Config

func (this *Filesystem) Config(path string) wollemi.Config

func (*Filesystem) Lstat

func (*Filesystem) Lstat(path string) (os.FileInfo, error)

func (*Filesystem) MkdirAll

func (*Filesystem) MkdirAll(path string, mode os.FileMode) error

func (*Filesystem) ReadAll

func (*Filesystem) ReadAll(buf *bytes.Buffer, path string) error

func (*Filesystem) ReadDir

func (*Filesystem) ReadDir(path string) ([]os.FileInfo, error)
func (*Filesystem) Readlink(name string) (string, error)

func (*Filesystem) Remove

func (*Filesystem) Remove(path string) error

func (*Filesystem) RemoveAll

func (*Filesystem) RemoveAll(path string) error

func (*Filesystem) Stat

func (*Filesystem) Stat(path string) (os.FileInfo, error)
func (*Filesystem) Symlink(oldname, newname string) error

func (*Filesystem) Walk

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

func (*Filesystem) WriteFile

func (*Filesystem) WriteFile(path string, data []byte, mode os.FileMode) error

Jump to

Keyboard shortcuts

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