syncthing/lib/ignore
Jakob Borg e0d4cdc9a3
lib/ignore: Don't crash on empty patterns (fixes #6300) (#6301)
Instead of panicking when we try to look closer at the empty pattern,
return something like `invalid pattern "(?d)" in ignore file: missing
pattern`.
2020-01-30 09:58:44 +01:00
..
testdata mv internal lib 2015-08-09 09:35:26 +02:00
cache.go lib/ignore, lib/model: Use an interface to detect file changes, improving tests 2017-06-11 10:27:12 +00:00
cache_test.go lib/ignore, lib/model: Use an interface to detect file changes, improving tests 2017-06-11 10:27:12 +00:00
ignore.go lib/ignore: Don't crash on empty patterns (fixes #6300) (#6301) 2020-01-30 09:58:44 +01:00
ignore_test.go lib/ignore: Don't crash on empty patterns (fixes #6300) (#6301) 2020-01-30 09:58:44 +01:00