ad53429cf1
The following build tags are available: - "nogcs", disable Google Cloud Storage backend - "nos3", disable S3 Compabible Object Storage backends - "nobolt", disable Bolt data provider - "nomysql", disable MySQL data provider - "nopgsql", disable PostgreSQL data provider - "nosqlite", disable SQLite data provider - "noportable", disable portable mode
17 lines
247 B
Go
17 lines
247 B
Go
// +build nobolt
|
|
|
|
package dataprovider
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/drakkan/sftpgo/utils"
|
|
)
|
|
|
|
func init() {
|
|
utils.AddFeature("-bolt")
|
|
}
|
|
|
|
func initializeBoltProvider(basePath string) error {
|
|
return errors.New("bolt disabled at build time")
|
|
}
|