syncthing/lib
Simon Frei ab8c2fb5c7 lib/model: Fix race in GetIgnores (fixes #4300)
In addition this function returned an error when .stignore file was not
present, which is perfectly valid. Also removed inconsistent nil check in
ignores.go (only relevant for tests) and adjusted walk.go to do what it says
in comments (check if Matcher is nil) to prevent nil deref in tests.

Originally reported in:
https://forum.syncthing.net/t/reason-for-panic-maybe-too-little-ram/10346

Regression from #3996

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4301
2017-08-12 17:10:43 +00:00
..
auto all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
beacon all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
config lib/model: Remove ineffective symlink recovery attempt 2017-08-08 15:30:28 +02:00
connections all: Typos 2017-07-20 13:10:46 +00:00
db lib/db: Fix test for Go 1.9's smarter time.Time values 2017-06-28 14:36:04 +02:00
dialer all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
discover all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
events cmd/syncthing: Allow custom event subscriptions (fixes #1879) 2017-04-13 17:14:34 +00:00
fs lib/fs, lib/model, lib/scanner: Make scans cancellable (fixes #3965) 2017-04-26 00:15:23 +00:00
ignore lib/ignores: Don't add text from includes to lines (fixes #4249) 2017-07-06 11:44:11 +00:00
logger cmd/syncthing, lib/logger: Set debug flags on SetDebug for tests 2017-06-02 07:04:06 +00:00
model lib/model: Fix race in GetIgnores (fixes #4300) 2017-08-12 17:10:43 +00:00
nat all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
osutil all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
pmp all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
protocol lib/protocol: More descriptive errors on device ID parse failures 2017-04-27 14:45:35 +09:00
rand all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
rc all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
relay all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
scanner lib/ignore, lib/model: Use an interface to detect file changes, improving tests 2017-06-11 10:27:12 +00:00
sha256 all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
signature all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stats all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
sync lib/sync: Make some tests not depend on real clock 2017-04-01 11:03:11 +00:00
tlsutil all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
upgrade lib/upgrade: 0.x to 1.0 is a minor upgrade 2017-06-25 14:17:43 +00:00
upnp all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
util all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
versioner lib/versioner: Clean the versions dir of symlinks, not the full folder 2017-08-08 13:13:08 +00:00
weakhash all: Correct various typos 2017-02-25 08:12:13 +00:00