2
0
mirror of synced 2025-02-24 14:48:27 +00:00
torrent/storage/default-dir-piece-completion-other.go
Matt Joiner 47a15797a4 Exclusively use crawshaw instead of zombiezen for sqlite
Zombiezen doesn't support as many platforms as crawshaw for example.
2022-02-10 10:22:39 +11:00

15 lines
321 B
Go

// Bolt piece completion is not available, and neither is sqlite.
//go:build (!cgo || nosqlite) && noboltdb
// +build !cgo nosqlite
// +build noboltdb
package storage
import (
"errors"
)
func NewDefaultPieceCompletionForDir(dir string) (PieceCompletion, error) {
return nil, errors.New("y ur OS no have features")
}