watch

package
v0.0.0-...-445c0ad Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WatchStatus

func WatchStatus(log *base.LogObject, statusDir string, jsonOnly bool, doneChan <-chan struct{}, fileChanges chan<- string)

Generates 'M' events for all existing and all creates/modify. Generates 'D' events for all deletes. Generates a 'R' event when the initial directories have been processed This assumes that the caller ensures that the restart and restarted files are handled last in a set of changes close in time, since the directory can see multiple modifications (content and attributes) and in different order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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