sftpgo-mirror/dataprovider/bolt_disabled.go
2021-06-26 07:31:41 +02:00

17 lines
254 B
Go

// +build nobolt
package dataprovider
import (
"errors"
"github.com/drakkan/sftpgo/v2/version"
)
func init() {
version.AddFeature("-bolt")
}
func initializeBoltProvider(basePath string) error {
return errors.New("bolt disabled at build time")
}