sftpgo-mirror/dataprovider/bolt_disabled.go

18 lines
251 B
Go
Raw Normal View History

// +build nobolt
package dataprovider
import (
"errors"
2020-06-19 15:08:51 +00:00
"github.com/drakkan/sftpgo/version"
)
func init() {
2020-06-19 15:08:51 +00:00
version.AddFeature("-bolt")
}
func initializeBoltProvider(basePath string) error {
return errors.New("bolt disabled at build time")
}