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

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