dirwatcher

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WatchedFileInfo

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

func (*WatchedFileInfo) LastCheck

func (fi *WatchedFileInfo) LastCheck() time.Time

func (*WatchedFileInfo) Path

func (fi *WatchedFileInfo) Path() string

func (*WatchedFileInfo) Size

func (fi *WatchedFileInfo) Size() int64

type WatcherFn

type WatcherFn func(string, time.Duration, chan<- WatchedFileInfo, <-chan interface{})

func NewDirectoryWatcher

func NewDirectoryWatcher(_logger *logger.Logger, _addExistingFiles bool) WatcherFn

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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