Versions in this module Expand all Collapse all v0 v0.0.1 Jun 22, 2018 Changes in this version + const CheckLimitKey + const MAX_COALESCE + func DefaultMatcher() *ospath.Matcher + func LimitChecksEnabled() bool + func NewWatcher() (wmNotify, error) + func SetLimitChecksEnabled(enabled bool) + type RecipeTagProvider func() data.RecipeWTag + func NewRecipeTagProvider(tag data.RecipeWTag) RecipeTagProvider + type WatchErrEvent struct + Err error + type WatchEvent interface + type WatchOpsEvent struct + Ops []data.Op + SnapID data.SnapshotID + func ChangesSinceModTimeToOpsEvent(path string, db dbint.DB2, previous data.SnapshotID, owner data.UserID, ...) (WatchOpsEvent, error) + func DirectoryToOpsEvent(path string, db dbint.DB2, matcher *ospath.Matcher, previous data.SnapshotID, ...) (WatchOpsEvent, error) + func (e WatchOpsEvent) IsEmpty() bool + type WatchSyncEvent struct + Token string + type WorkspaceWatcher struct + Events chan WatchEvent + func NewWorkspaceWatcher(path string, db dbint.DB2, matcher *ospath.Matcher, owner data.UserID, ...) (*WorkspaceWatcher, error) + func NewWorkspaceWatcherAndSync(path string, db dbint.DB2, previous data.SnapshotID, matcher *ospath.Matcher, ...) (*WorkspaceWatcher, error) + func NewWorkspaceWatcherWithLimit(path string, db dbint.DB2, matcher *ospath.Matcher, owner data.UserID, ...) (*WorkspaceWatcher, error) + func (ww *WorkspaceWatcher) Close() error + func (ww *WorkspaceWatcher) FSync(ctx context.Context, token string) error + func (ww *WorkspaceWatcher) Matcher() *ospath.Matcher + func (ww *WorkspaceWatcher) NotifyOnChange(path string, c chan struct{}) + func (ww *WorkspaceWatcher) Root() string