mirror of
https://github.com/status-im/status-go.git
synced 2025-01-19 19:20:00 +00:00
12 lines
298 B
Go
12 lines
298 B
Go
|
// Bolt piece completion is available, and sqlite is not.
|
||
|
//go:build !noboltdb && !wasm && (js || nosqlite)
|
||
|
// +build !noboltdb
|
||
|
// +build !wasm
|
||
|
// +build js nosqlite
|
||
|
|
||
|
package storage
|
||
|
|
||
|
func NewDefaultPieceCompletionForDir(dir string) (PieceCompletion, error) {
|
||
|
return NewBoltPieceCompletion(dir)
|
||
|
}
|