notify

package
v0.0.0-...-c450bf1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	*fsnotify.Watcher
	// contains filtered or unexported fields
}

Watcher はfsnotify.Watcherの拡張型

func NewWatcher

func NewWatcher() (*Watcher, error)

NewWatcher はWatcherインスタンスを作成する

func (*Watcher) Add

func (w *Watcher) Add(name string) error

Add はディレクトリ監視を追加する

func (*Watcher) Close

func (w *Watcher) Close() error

Close は監視処理を閉じる

func (*Watcher) Remove

func (w *Watcher) Remove(name string) error

Remove はディレクトリ監視を除外する

func (*Watcher) Watched

func (w *Watcher) Watched(name string) bool

Watched はディレクトリが監視中のものであるかを返す

Jump to

Keyboard shortcuts

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