123456789101112131415161718 |
- // +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 string, config GCSFsConfig) (Fs, error) {
- return nil, errors.New("Google Cloud Storage disabled at build time")
- }
|