Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesysWatcher ¶
type FilesysWatcher struct {
// contains filtered or unexported fields
}
FilesysWatcher will watch a set of directory paths, and send messages on a channel for events concerning those paths. These events are: * A new file in one of those paths was created * An existing file was modified / written to * An existing file was deleted * One of the folders being watched was renamed, but that folder is still being watched * One of the folders was removed, which makes it no longer watched TODO(dlong): Folder rename and remove are not supported yet.
func NewFilesysWatcher ¶
NewFilesysWatcher returns a new FilesysWatcher
func (*FilesysWatcher) Watch ¶
func (w *FilesysWatcher) Watch(path EventPath)
Watch starts watching an additional path
func (*FilesysWatcher) WatchAllFSIPaths ¶
WatchAllFSIPaths sets up filesystem watchers for all FSI-linked datasets in a given qri repo