watchmantrigger

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	Client     watchman.Client
	SocketPath string
	// contains filtered or unexported fields
}

Group is a collection of triggers configured in Watchman. Calling DeleteAll unconfigures them.

func (*Group) DeleteAll

func (g *Group) DeleteAll(ctx context.Context) error

DeleteAll unconfigures all triggers.

func (*Group) RecrawlAll

func (g *Group) RecrawlAll(ctx context.Context) error

RecrawlAll triggers a full recrawl on all watched directories.

func (*Group) SetAll

func (g *Group) SetAll(ctx context.Context, all []*config.Handler) error

SetAll configures triggers for all given handlers.

Jump to

Keyboard shortcuts

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