2021-12-07 02:07:58 +00:00
|
|
|
// Bolt piece completion is available, and sqlite is not.
|
2022-03-15 03:37:52 +00:00
|
|
|
//go:build !noboltdb && (!cgo || nosqlite) && !wasm
|
2021-12-07 02:07:58 +00:00
|
|
|
// +build !noboltdb
|
2022-01-22 23:20:24 +00:00
|
|
|
// +build !cgo nosqlite
|
2022-03-15 03:37:52 +00:00
|
|
|
// +build !wasm
|
2021-12-07 02:07:58 +00:00
|
|
|
|
|
|
|
package storage
|
|
|
|
|
|
|
|
func NewDefaultPieceCompletionForDir(dir string) (PieceCompletion, error) {
|
|
|
|
return NewBoltPieceCompletion(dir)
|
|
|
|
}
|