github.com/anacrolix/torrent@v1.61.0/storage/default-dir-piece-completion-other.go (about)

     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  }