watcher

package
v0.0.0-...-695189b Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fs

type Fs struct {
	OnCreateHook func(filePath string)
	// contains filtered or unexported fields
}

func NewFs

func NewFs(directory string, onCreateHook func(filePath string)) (*Fs, error)

func (*Fs) Close

func (watcherFs *Fs) Close()

func (*Fs) Watch

func (watcherFs *Fs) Watch()

Jump to

Keyboard shortcuts

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