file_watcher

package
v0.0.0-...-35a4376 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileWatcher

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

func NewFileWatcher

func NewFileWatcher(logger log.Logger, filepath string) (*FileWatcher, error)

func (*FileWatcher) AsyncWatchFile

func (w *FileWatcher) AsyncWatchFile() chan error

func (*FileWatcher) FileChanged

func (w *FileWatcher) FileChanged() bool

Jump to

Keyboard shortcuts

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