chanwatcher

package
v4.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	model.PathSyncSource
	Context     context.Context
	NodeChanges chan *tree.NodeChangeEvent
	Prefix      string
}

func NewWatcher

func NewWatcher(ctx context.Context, src model.PathSyncSource, prefix string) *Watcher

func (*Watcher) ComputeChecksum added in v4.0.4

func (w *Watcher) ComputeChecksum(ctx context.Context, node *tree.Node) error

func (*Watcher) Watch

func (w *Watcher) Watch(recursivePath string) (*model.WatchObject, error)

Jump to

Keyboard shortcuts

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