syncthing/lib/ignore
Eric P 9f131eee6b
lib/ignore: Properly handle non-existing included ignore-files (fixes #8764) (#8874)
In the sequence of loading ignores, the error File Does Not Exist is not being considered a fatal  error, since the .stignore file is allowed to not exist. However, included ignore files also tossed that same error in case those do not exist while in those cases it's considered an error and it should lead to the folder stopping. Changing the error when opening an included ignore file to something other than the regular does fix this issue, as in it now works again as described in the Documentation.
2023-04-20 15:00:55 +02:00
..
testdata mv internal lib 2015-08-09 09:35:26 +02: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
cache.go lib/ignore: Store cache timestamps as Unix ns counts (#7326) 2021-02-04 18:39:06 +01:00
ignore_test.go lib/ignore: Properly handle non-existing included ignore-files (fixes #8764) (#8874) 2023-04-20 15:00:55 +02:00
ignore.go lib/ignore: Properly handle non-existing included ignore-files (fixes #8764) (#8874) 2023-04-20 15:00:55 +02:00