syncthing/lib/ignore
Jakob Borg dd92b2b8f4
all: Tweak error creation (#6391)
- In the few places where we wrap errors, use the new Go 1.13 "%w"
  construction instead of %s or %v.

- Where we create errors with constant strings, consistently use
  errors.New and not fmt.Errorf.

- Remove capitalization from errors in the few places where we had that.
2020-03-03 22:40:00 +01: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, lib/model: Use an interface to detect file changes, improving tests 2017-06-11 10:27:12 +00:00
ignore_test.go lib/ignore: Don't crash on empty patterns (fixes #6300) (#6301) 2020-01-30 09:58:44 +01:00
ignore.go all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00