mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
18 lines
272 B
Go
18 lines
272 B
Go
//go:build nobolt
|
|
// +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")
|
|
}
|