mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-25 00:50:31 +00:00
19 lines
365 B
Go
19 lines
365 B
Go
//go:build nogcs
|
|
// +build nogcs
|
|
|
|
package vfs
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/drakkan/sftpgo/version"
|
|
)
|
|
|
|
func init() {
|
|
version.AddFeature("-gcs")
|
|
}
|
|
|
|
// NewGCSFs returns an error, GCS is disabled
|
|
func NewGCSFs(connectionID, localTempDir, mountPath string, config GCSFsConfig) (Fs, error) {
|
|
return nil, errors.New("Google Cloud Storage disabled at build time")
|
|
}
|