mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-11-23 22:04:50 +02:00
18 lines
255 B
Go
18 lines
255 B
Go
|
|
// +build nosqlite
|
||
|
|
|
||
|
|
package dataprovider
|
||
|
|
|
||
|
|
import (
|
||
|
|
"errors"
|
||
|
|
|
||
|
|
"github.com/drakkan/sftpgo/utils"
|
||
|
|
)
|
||
|
|
|
||
|
|
func init() {
|
||
|
|
utils.AddFeature("-sqlite")
|
||
|
|
}
|
||
|
|
|
||
|
|
func initializeSQLiteProvider(basePath string) error {
|
||
|
|
return errors.New("SQLite disabled at build time")
|
||
|
|
}
|