Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
CLI is a wrapper for running the Kin CLI.
type Executable ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher allows you to observe directories and call an action if any of them change.
func NewWatcher ¶
NewWatcher initializes a new instance of a Watcher. It specifies a list of directories to watch and directories to ignore.
func (*Watcher) Watch ¶
func (w *Watcher) Watch(callback WatcherCallback) error
Watch starts the watcher. A callback function is provided that gets executed anytime a file change occurs.
type WatcherCallback ¶
WatcherCallback is the function signature that is executed when a file is changed.
Click to show internal directories.
Click to hide internal directories.