mirror of
https://github.com/kopia/kopia.git
synced 2026-01-26 23:38:04 -05:00
introduced side-effecting import 'kopia/kopia/storage/providers' which registers all storage providers, by default no storage providers are dependencies of 'repo'
This commit is contained in:
@@ -15,10 +15,6 @@
|
||||
"github.com/kopia/kopia/internal/ospath"
|
||||
"github.com/kopia/kopia/internal/units"
|
||||
"github.com/kopia/kopia/storage"
|
||||
|
||||
// Register well-known blob storage providers
|
||||
_ "github.com/kopia/kopia/storage/filesystem"
|
||||
_ "github.com/kopia/kopia/storage/gcs"
|
||||
)
|
||||
|
||||
// ConnectOptions specifies options when persisting configuration to connect to a repository.
|
||||
|
||||
8
storage/providers/providers.go
Normal file
8
storage/providers/providers.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// Package providers registers all storage providers that are included as part of Kopia.
|
||||
package providers
|
||||
|
||||
import (
|
||||
// Register well-known blob storage providers
|
||||
_ "github.com/kopia/kopia/storage/filesystem"
|
||||
_ "github.com/kopia/kopia/storage/gcs"
|
||||
)
|
||||
Reference in New Issue
Block a user