matterbridge/vendor/github.com/anacrolix/torrent/storage/default-dir-piece-completion-other.go
Michal Iskierko 6d31343205 feat: Waku v2 bridge
Issue #12610
2024-02-22 17:07:59 +01:00

14 lines
288 B
Go

// 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")
}