mirror of
https://github.com/ipfs/kubo.git
synced 2025-05-17 23:16:11 +08:00
Update to latest go-datastore
License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
This commit is contained in:
4
thirdparty/datastore2/datastore_closer.go
vendored
4
thirdparty/datastore2/datastore_closer.go
vendored
@ -3,8 +3,8 @@ package datastore2
|
||||
import (
|
||||
"io"
|
||||
|
||||
"gx/ipfs/QmPpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg/go-datastore"
|
||||
syncds "gx/ipfs/QmPpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg/go-datastore/sync"
|
||||
"gx/ipfs/QmXRKBQA4wXP7xWbFiZsR1GP4HV6wMDQ1aWFxZZ4uBcPX9/go-datastore"
|
||||
syncds "gx/ipfs/QmXRKBQA4wXP7xWbFiZsR1GP4HV6wMDQ1aWFxZZ4uBcPX9/go-datastore/sync"
|
||||
)
|
||||
|
||||
type ThreadSafeDatastoreCloser interface {
|
||||
|
4
thirdparty/datastore2/delayed.go
vendored
4
thirdparty/datastore2/delayed.go
vendored
@ -1,9 +1,9 @@
|
||||
package datastore2
|
||||
|
||||
import (
|
||||
ds "gx/ipfs/QmPpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg/go-datastore"
|
||||
dsq "gx/ipfs/QmPpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg/go-datastore/query"
|
||||
delay "gx/ipfs/QmRJVNatYJwTAHgdSM1Xef9QVQ1Ch3XHdmcrykjP5Y4soL/go-ipfs-delay"
|
||||
ds "gx/ipfs/QmXRKBQA4wXP7xWbFiZsR1GP4HV6wMDQ1aWFxZZ4uBcPX9/go-datastore"
|
||||
dsq "gx/ipfs/QmXRKBQA4wXP7xWbFiZsR1GP4HV6wMDQ1aWFxZZ4uBcPX9/go-datastore/query"
|
||||
)
|
||||
|
||||
func WithDelay(ds ds.Datastore, delay delay.D) ds.Datastore {
|
||||
|
2
thirdparty/datastore2/threadsafe.go
vendored
2
thirdparty/datastore2/threadsafe.go
vendored
@ -3,7 +3,7 @@ package datastore2
|
||||
import (
|
||||
"io"
|
||||
|
||||
"gx/ipfs/QmPpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg/go-datastore"
|
||||
"gx/ipfs/QmXRKBQA4wXP7xWbFiZsR1GP4HV6wMDQ1aWFxZZ4uBcPX9/go-datastore"
|
||||
)
|
||||
|
||||
// ClaimThreadSafe claims that a Datastore is threadsafe, even when
|
||||
|
Reference in New Issue
Block a user