2020-05-23 09:58:05 +00:00
|
|
|
// +build nosqlite
|
|
|
|
|
|
|
|
package dataprovider
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
|
2020-06-19 15:08:51 +00:00
|
|
|
"github.com/drakkan/sftpgo/version"
|
2020-05-23 09:58:05 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
2020-06-19 15:08:51 +00:00
|
|
|
version.AddFeature("-sqlite")
|
2020-05-23 09:58:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func initializeSQLiteProvider(basePath string) error {
|
|
|
|
return errors.New("SQLite disabled at build time")
|
|
|
|
}
|