mirror of
https://github.com/restic/restic.git
synced 2026-08-06 05:33:17 +00:00
Apply go fix -any ./...
This commit is contained in:
@@ -52,14 +52,14 @@ func open(cfg Config) (*Local, error) {
|
||||
}
|
||||
|
||||
// Open opens the local backend as specified by config.
|
||||
func Open(_ context.Context, cfg Config, _ func(string, ...interface{})) (*Local, error) {
|
||||
func Open(_ context.Context, cfg Config, _ func(string, ...any)) (*Local, error) {
|
||||
debug.Log("open local backend at %v", cfg.Path)
|
||||
return open(cfg)
|
||||
}
|
||||
|
||||
// Create creates all the necessary files and directories for a new local
|
||||
// backend at dir. Afterwards a new config blob should be created.
|
||||
func Create(_ context.Context, cfg Config, _ func(string, ...interface{})) (*Local, error) {
|
||||
func Create(_ context.Context, cfg Config, _ func(string, ...any)) (*Local, error) {
|
||||
debug.Log("create local backend at %v", cfg.Path)
|
||||
|
||||
be, err := open(cfg)
|
||||
|
||||
Reference in New Issue
Block a user