1
0
mirror of https://github.com/drakkan/sftpgo.git synced 2025-11-23 22:04:50 +02:00
Files
sftpgo/vfs/s3fs_disabled.go

19 lines
309 B
Go
Raw Normal View History

// +build nos3
package vfs
import (
"errors"
"github.com/drakkan/sftpgo/utils"
)
func init() {
utils.AddFeature("-s3")
}
// NewS3Fs returns an error, S3 is disabled
func NewS3Fs(connectionID, localTempDir string, config S3FsConfig) (Fs, error) {
return nil, errors.New("S3 disabled at build time")
}