2021-12-07 02:07:58 +00:00
|
|
|
// Bolt piece completion is not available, and neither is sqlite.
|
2022-01-22 23:20:24 +00:00
|
|
|
//go:build (!cgo || nosqlite) && noboltdb
|
|
|
|
// +build !cgo nosqlite
|
|
|
|
// +build noboltdb
|
2021-06-23 07:24:50 +00:00
|
|
|
|
|
|
|
package storage
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
)
|
|
|
|
|
|
|
|
func NewDefaultPieceCompletionForDir(dir string) (PieceCompletion, error) {
|
|
|
|
return nil, errors.New("y ur OS no have features")
|
|
|
|
}
|