fs

package
v0.0.0-...-b5201a7 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Watch

func Watch(paths []string) error

Watch notifies for file changes for the given file or directory

Types

type File

type File struct {
	Path string
	Info os.FileInfo
}

File provides information about a file

func Walk

func Walk(dir string, includeDir bool) ([]File, error)

Walk returns a list of all files in the given directory

Jump to

Keyboard shortcuts

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