1
0
mirror of https://github.com/drakkan/sftpgo.git synced 2025-11-29 22:08:10 +02:00
Files
sftpgo/vfs/gcsfs_disabled.go

19 lines
337 B
Go
Raw Normal View History

// +build nogcs
package vfs
import (
"errors"
2020-06-19 17:08:51 +02:00
"github.com/drakkan/sftpgo/version"
)
func init() {
2020-06-19 17:08:51 +02:00
version.AddFeature("-gcs")
}
// NewGCSFs returns an error, GCS is disabled
func NewGCSFs(connectionID, localTempDir string, config GCSFsConfig) (Fs, error) {
return nil, errors.New("Google Cloud Storage disabled at build time")
}