mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
drop support for s3legacy layout
This commit is contained in:
@@ -23,6 +23,13 @@ var defaultLayoutPaths = map[backend.FileType]string{
|
||||
backend.KeyFile: "keys",
|
||||
}
|
||||
|
||||
func NewDefaultLayout(path string, join func(...string) string) *DefaultLayout {
|
||||
return &DefaultLayout{
|
||||
Path: path,
|
||||
Join: join,
|
||||
}
|
||||
}
|
||||
|
||||
func (l *DefaultLayout) String() string {
|
||||
return "<DefaultLayout>"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user