io

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Require

func Require(runtime *goja.Runtime, module *goja.Object)

Types

type FileNotFoundError

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

func (*FileNotFoundError) Error

func (t *FileNotFoundError) Error() string

type Module

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

func New

func New() *Module

func (*Module) DeleteFile

func (io *Module) DeleteFile(path string) error

func (*Module) DeleteFolder

func (io *Module) DeleteFolder(path string, force bool) error

func (*Module) Walk added in v0.2.0

func (io *Module) Walk(path string, fn filepath.WalkFunc) error

Jump to

Keyboard shortcuts

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