]> Sergey Matveev's repositories - btrtrc.git/blob - storage/default-dir-piece-completion-other.go
Drop support for go 1.20
[btrtrc.git] / storage / default-dir-piece-completion-other.go
1 // Bolt piece completion is not available, and neither is sqlite.
2 //go:build (!cgo || nosqlite) && (noboltdb || wasm)
3 // +build !cgo nosqlite
4 // +build noboltdb wasm
5
6 package storage
7
8 import (
9         "errors"
10 )
11
12 func NewDefaultPieceCompletionForDir(dir string) (PieceCompletion, error) {
13         return nil, errors.New("y ur OS no have features")
14 }