drivers

package
v0.0.0-...-ff4e629 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidFunction = fmt.Errorf("Invalid function")

ErrInvalidFunction is the "Invalid function" error.

View Source
var ErrUnknownDriver = fmt.Errorf("Unknown driver")

ErrUnknownDriver is the "Unknown driver" error.

View Source
var ErrWatchExists = fmt.Errorf("Watch already exists")

ErrWatchExists is the "Watch already exists" error.

Functions

func Load

func Load(ctx context.Context, path string, events ...fsmonitor.Event) (fsmonitor.FSMonitor, error)

Load returns a new fsmonitor.FSMonitor with an applicable Driver.

Types

type ErrInvalidPath

type ErrInvalidPath struct {
	PrefixPath string
}

ErrInvalidPath is the "Invalid path" error.

func (*ErrInvalidPath) Error

func (e *ErrInvalidPath) Error() string

Error returns the error string.

Jump to

Keyboard shortcuts

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