fs

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Paths []*fsPath
}

func New

func New() (*Config, error)

func (*Config) Process

func (c *Config) Process(ctx context.Context)

type Event

type Event string
const (
	CreateEvent Event = "Create"
	WriteEvent  Event = "Write"
	RemoveEvent Event = "Remove"
)

func ParseEvent

func ParseEvent(e string) (Event, error)

func ParseEvents

func ParseEvents(eventNames []string) ([]Event, error)

func (Event) String

func (e Event) String() string

Jump to

Keyboard shortcuts

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