syncthing/lib/db/backend
greatroar df83b84aa1
all: Make all error implementations pointer types (#6726)
This matches the convention of the stdlib and avoids ambiguity: when
customErr{} and &customErr{} both implement error, client code needs to
check for both.

Memory use should remain the same, since storing a non-pointer type in
an interface value still copies the value to the heap.
2020-06-16 09:27:34 +02:00
..
backend_test.go lib/db: Wrap errors from leveldb iterators (fixes #6263) (#6264) 2020-01-12 09:06:31 +04:00
backend.go all: Make all error implementations pointer types (#6726) 2020-06-16 09:27:34 +02:00
badger_backend.go all: Make all error implementations pointer types (#6726) 2020-06-16 09:27:34 +02:00
badger_test.go lib/db: Add Badger backend (fixes #5910) (#6250) 2020-05-29 13:43:02 +02:00
debug.go Implement database abstraction, error checking (ref #5907) (#6107) 2019-11-29 09:11:52 +01:00
leveldb_backend.go all: Make all error implementations pointer types (#6726) 2020-06-16 09:27:34 +02:00
leveldb_open.go all: Make all error implementations pointer types (#6726) 2020-06-16 09:27:34 +02:00
leveldb_test.go Implement database abstraction, error checking (ref #5907) (#6107) 2019-11-29 09:11:52 +01:00