mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
backend/layout: unexport fields and simplify rest layout
This commit is contained in:
@@ -72,10 +72,7 @@ func Open(ctx context.Context, cfg Config, rt http.RoundTripper) (backend.Backen
|
||||
connections: cfg.Connections,
|
||||
container: cfg.Container,
|
||||
prefix: cfg.Prefix,
|
||||
Layout: &layout.DefaultLayout{
|
||||
Path: cfg.Prefix,
|
||||
Join: path.Join,
|
||||
},
|
||||
Layout: layout.NewDefaultLayout(cfg.Prefix, path.Join),
|
||||
}
|
||||
|
||||
// Authenticate if needed
|
||||
|
||||
Reference in New Issue
Block a user