syncthing/lib/ignore
Jakob Borg a80fc1b062 Correctly report errors encountered parsing ignores (fixes #2309, fixes #2296)
An error on opening .stignore will satisfy os.IsNotExist() and not be
reported. Other errors will be reported and stop the folder, including
is-not-exist errors from #include as these are passed through fmt.Errorf.

Also fixes minor issue where we would not print cause of folder stopping
to the log.

Also fixes minor issue with capitalization of errors.
2015-09-29 18:04:18 +02:00
..
testdata mv internal lib 2015-08-09 09:35:26 +02:00
cache.go mv internal lib 2015-08-09 09:35:26 +02:00
cache_test.go mv internal lib 2015-08-09 09:35:26 +02:00
ignore.go Correctly report errors encountered parsing ignores (fixes #2309, fixes #2296) 2015-09-29 18:04:18 +02:00
ignore_test.go mv internal lib 2015-08-09 09:35:26 +02:00