gazer

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gazer

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

Gazer gazes filesystem.

func New

func New(patterns []string, maxWatchDirs int) (*Gazer, error)

New returns a new Gazer.

func (*Gazer) Close

func (g *Gazer) Close()

Close disposes internal resources.

func (*Gazer) InvokeCount added in v1.1.6

func (g *Gazer) InvokeCount() uint64

InvokeCount returns the current execution counter

func (*Gazer) Run

func (g *Gazer) Run(configs *config.Config, timeout int64, restart bool) error

Run starts to gaze.

Jump to

Keyboard shortcuts

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