mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
19 lines
272 B
Go
19 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")
|
|
}
|