rwatch

package module
v0.0.0-...-6910182 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: MIT Imports: 5 Imported by: 1

README

rwatch

Recursive FS watcher

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Changed

type Changed struct {
	Path string
	File os.FileInfo
}

func (Changed) String

func (m Changed) String() string

type Chmoded

type Chmoded struct {
	Path string
	File os.FileInfo
}

func (Chmoded) String

func (m Chmoded) String() string

type Created

type Created struct {
	Path string
	File os.FileInfo
}

func (Created) String

func (m Created) String() string

type Deleted

type Deleted struct {
	Path string
}

func (Deleted) String

func (m Deleted) String() string

type Error

type Error struct {
	Path  string
	Error error
}

func (Error) String

func (m Error) String() string

type Message

type Message interface{}

type RecursiveWatcher

type RecursiveWatcher struct {
	Messages chan Message
	// contains filtered or unexported fields
}

func NewRecursiveWatcher

func NewRecursiveWatcher(root string) (*RecursiveWatcher, error)

func (*RecursiveWatcher) Close

func (rw *RecursiveWatcher) Close()

type Renamed

type Renamed struct {
	Path string
	File os.FileInfo
}

func (Renamed) String

func (m Renamed) String() string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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