storj/storage/filestore
paul cannon bd89f51c66
Keep v0pieceinfo database isolated (#3364)
* put TestCreateV0 back in StoreForTest
* avoid direct handles to V0 pieceinfo db
* type mismatch fix
* use storage.Blobs interface in store_test.go

..instead of filestore.Store. this will allow filestore.Store to become
unexported.

* unexport filestore.Store

rename it to blobStore. things should use the storage.Blobs interface
instead. changes in this commit are purely mechanical (made through the
"refactor" tool in Gocode followed by search/replace on the word "Store"
within the storage/filestore/ directory).

* kill filestore.StoreForTest

now that filestore.blobStore is unexported, there isn't a need for a
specialized wrapper type. this (not coincidentally) also makes it
possible for the WriterForFormatVersion() method on
storagenode/pieces.StoreForTest to work, without requiring everything to
wrap the store.blobs attribute in a filestore.StoreForTest, which was
impractical.
2019-11-13 13:15:31 -06:00
..
blob.go Keep v0pieceinfo database isolated (#3364) 2019-11-13 13:15:31 -06:00
dir_test.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
dir_unix.go filestore changes for piece store (#1437) 2019-03-11 10:06:56 +02:00
dir_windows.go all: enable staticcheck (#2849) 2019-08-22 13:40:15 +02:00
dir.go storage/filestore: monkit event for delete queuing (#3507) 2019-11-12 15:56:57 -05:00
error.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
store_test.go Keep v0pieceinfo database isolated (#3364) 2019-11-13 13:15:31 -06:00
store.go Keep v0pieceinfo database isolated (#3364) 2019-11-13 13:15:31 -06:00