default-dir-piece-completion-other.go 336 B

1234567891011121314
  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. package storage
  6. import (
  7. "errors"
  8. )
  9. func NewDefaultPieceCompletionForDir(dir string) (PieceCompletion, error) {
  10. return nil, errors.New("y ur OS no have features")
  11. }