FedP2P/storage/default-dir-piece-completio...

15 lines
336 B
Go
Raw Normal View History

// Bolt piece completion is not available, and neither is sqlite.
//go:build (!cgo || nosqlite) && (noboltdb || wasm)
// +build !cgo nosqlite
// +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")
}