2
0
mirror of synced 2025-02-24 06:38:14 +00:00
torrent/storage/default-dir-piece-completion-boltdb.go

12 lines
302 B
Go
Raw Normal View History

// Bolt piece completion is available, and sqlite is not.
//go:build !noboltdb && (!cgo || nosqlite) && !wasm
// +build !noboltdb
// +build !cgo nosqlite
// +build !wasm
package storage
func NewDefaultPieceCompletionForDir(dir string) (PieceCompletion, error) {
return NewBoltPieceCompletion(dir)
}