Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Op Op
Path string
LastKnownChecksum string
// contains filtered or unexported fields
}
Event decsribes a file change event
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
Filter matches filepaths to a list of patterns
type Watcher ¶
type Watcher struct {
Events chan Event
// contains filtered or unexported fields
}
Watcher is the object used to watch files for change and notify on any events, these events can then be passed along to kit to be sent to shopify.
func NewWatcher ¶
NewWatcher will create a new file change watching for a given directory defined in an environment
Click to show internal directories.
Click to hide internal directories.