aboutsummaryrefslogtreecommitdiff
path: root/lib/fs/filesystem.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fs/filesystem.go')
-rw-r--r--lib/fs/filesystem.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/fs/filesystem.go b/lib/fs/filesystem.go
index cf0b50cdb..f7232c9f7 100644
--- a/lib/fs/filesystem.go
+++ b/lib/fs/filesystem.go
@@ -16,6 +16,7 @@ import (
"strings"
"time"
+ "github.com/syncthing/syncthing/lib/ignore/ignoreresult"
"github.com/syncthing/syncthing/lib/protocol"
)
@@ -127,14 +128,10 @@ type Usage struct {
}
type Matcher interface {
- ShouldIgnore(name string) bool
+ Match(name string) ignoreresult.R
SkipIgnoredDirs() bool
}
-type MatchResult interface {
- IsIgnored() bool
-}
-
type Event struct {
Name string
Type EventType