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