2021-08-19 13:51:43 +00:00
|
|
|
//go:build noazblob
|
2020-10-25 07:18:48 +00:00
|
|
|
// +build noazblob
|
|
|
|
|
|
|
|
package vfs
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
|
2021-06-26 05:31:41 +00:00
|
|
|
"github.com/drakkan/sftpgo/v2/version"
|
2020-10-25 07:18:48 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
version.AddFeature("-azblob")
|
|
|
|
}
|
|
|
|
|
|
|
|
// NewAzBlobFs returns an error, Azure Blob storage is disabled
|
2021-03-21 18:15:47 +00:00
|
|
|
func NewAzBlobFs(connectionID, localTempDir, mountPath string, config AzBlobFsConfig) (Fs, error) {
|
2020-10-25 07:18:48 +00:00
|
|
|
return nil, errors.New("Azure Blob Storage disabled at build time")
|
|
|
|
}
|