2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-29 16:23:59 +00:00
restic/internal/backend/rclone
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
..
backend_test.go backend: let ParseConfig return a Config pointer 2023-06-07 22:31:15 +02:00
backend.go rclone: treat "file already closed" as command startup error 2022-12-02 20:46:02 +01:00
config_test.go backend: fix linter warnings 2023-06-07 22:31:15 +02:00
config.go backend: let ParseConfig return a Config pointer 2023-06-07 22:31:15 +02:00
internal_test.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
stdio_conn.go rclone: Better field names for stdio conn 2020-07-26 00:29:25 +02:00