lib/model: Trigger a pull when ignore patterns change

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4532
This commit is contained in:
Jakob Borg
2017-11-20 16:29:36 +00:00
committed by Simon Frei
parent 8078babf0a
commit 0901350087
3 changed files with 3 additions and 6 deletions

View File

@@ -47,9 +47,8 @@ const (
type service interface {
BringToFront(string)
DelayScan(d time.Duration)
IndexUpdated() // Remote index was updated notification
IgnoresUpdated() // ignore matcher was updated notification
SchedulePull()
IgnoresUpdated() // ignore matcher was updated notification
SchedulePull() // something relevant changed, we should try a pull
Jobs() ([]string, []string) // In progress, Queued
Scan(subs []string) error
Serve()