syncthing/lib/db
Jakob Borg 2a4fc28318 We should pass around db.Instance instead of leveldb.DB
We're going to need the db.Instance to keep some state, and for that to
work we need the same one passed around everywhere. Hence this moves the
leveldb-specific file opening stuff into the db package and exports the
dbInstance type.
2015-10-31 12:35:30 +01:00
..
testdata mv internal lib 2015-08-09 09:35:26 +02:00
.gitignore mv internal lib 2015-08-09 09:35:26 +02:00
benchmark_test.go Only run benchmarks with -tags benchmark 2015-10-21 23:19:26 +02:00
blockmap.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
blockmap_test.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
concurrency_test.go mv internal lib 2015-08-09 09:35:26 +02:00
debug.go Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00
leveldb.go Refactor: the various db key functions should be instance methods 2015-10-31 11:27:04 +01:00
leveldb_dbinstance.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
leveldb_test.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
leveldb_transactions.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
leveldb_xdr.go mv internal lib 2015-08-09 09:35:26 +02:00
namespaced.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
namespaced_test.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
set.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
set_test.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
truncated.go Don't load block list in ...Truncated methods 2015-10-21 23:49:10 +02:00
virtualmtime.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
virtualmtime_test.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00