mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-25 09:00:27 +00:00
19 lines
399 B
Go
19 lines
399 B
Go
//go:build noazblob
|
|
// +build noazblob
|
|
|
|
package vfs
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/drakkan/sftpgo/v2/version"
|
|
)
|
|
|
|
func init() {
|
|
version.AddFeature("-azblob")
|
|
}
|
|
|
|
// NewAzBlobFs returns an error, Azure Blob storage is disabled
|
|
func NewAzBlobFs(connectionID, localTempDir, mountPath string, config AzBlobFsConfig) (Fs, error) {
|
|
return nil, errors.New("Azure Blob Storage disabled at build time")
|
|
}
|