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

17 lines
262 B
Go

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