fsdetect

package
v0.0.0-...-a07d484 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Watch

func Watch(paths []string) (chan Event, error)

Watch watches files in paths and send a message over the returned channel whenever any is touched.

Types

type Event

type Event struct {
	Type string
	Path string
}

Event represents a touch file system event.

Jump to

Keyboard shortcuts

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