filetest

package
v1.32.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Double

type Double struct {
	EventsFn func() <-chan fsnotify.Event
	ErrorsFn func() <-chan error
}

Double is a test double for file.RecursiveWatcher

func (*Double) Add

func (d *Double) Add(string) error

Add is a no-op for Double.

func (*Double) Close

func (d *Double) Close() error

Close is a no-op for Double.

func (*Double) Errors

func (d *Double) Errors() <-chan error

Errors calls the stubbed function.

func (*Double) Events

func (d *Double) Events() <-chan fsnotify.Event

Events calls the stubbed function.

Jump to

Keyboard shortcuts

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