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

14 lines
288 B
Go
Raw Normal View History

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