Commit 8aee0f54 authored by Tommi Virtanen's avatar Tommi Virtanen Committed by Jeromy

fsrepo: Refactor to extract datastore internals

License: MIT
Signed-off-by: default avatarTommi Virtanen <tv@eagain.net>
parent ef7f864c
...@@ -51,7 +51,7 @@ type GCBlockstore interface { ...@@ -51,7 +51,7 @@ type GCBlockstore interface {
PinLock() func() PinLock() func()
} }
func NewBlockstore(d ds.ThreadSafeDatastore) *blockstore { func NewBlockstore(d ds.Datastore) *blockstore {
dd := dsns.Wrap(d, BlockPrefix) dd := dsns.Wrap(d, BlockPrefix)
return &blockstore{ return &blockstore{
datastore: dd, datastore: dd,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment