status-go/vendor/github.com/anacrolix/torrent/storage/default-dir-piece-completion-other.go

14 lines
288 B
Go
Raw Normal View History

2022-03-10 10:44:48 +01:00
// Bolt piece completion is not available, and neither is sqlite.
//go:build wasm || noboltdb
// +build wasm noboltdb
package storage
import (
"errors"
)
func NewDefaultPieceCompletionForDir(dir string) (PieceCompletion, error) {
return nil, errors.New("y ur OS no have features")
}