restic/internal/backend/location
Michael Eischer f903db492c backend: let ParseConfig return a Config pointer
In order to change the backend initialization in `global.go` to be able
to generically call cfg.ApplyEnvironment() for supported backends, the
`interface{}` returned by `ParseConfig` must contain a pointer to the
configuration.

An alternative would be to use reflection to convert the type from
`interface{}(Config)` to `interface{}(*Config)` (from value to pointer
type). However, this would just complicate the type mess further.
2023-06-07 22:31:15 +02:00
..
display_location_test.go Hide password from repository URLs 2020-09-22 22:00:51 +02:00
location.go backend: let ParseConfig return a Config pointer 2023-06-07 22:31:15 +02:00
location_test.go backend: let ParseConfig return a Config pointer 2023-06-07 22:31:15 +02:00