mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
return exit code 10 if repository does not exist
This commit is contained in:
@@ -2,10 +2,13 @@ package backend
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"hash"
|
||||
"io"
|
||||
)
|
||||
|
||||
var ErrNoRepository = fmt.Errorf("repository does not exist")
|
||||
|
||||
// Backend is used to store and access data.
|
||||
//
|
||||
// Backend operations that return an error will be retried when a Backend is
|
||||
|
||||
Reference in New Issue
Block a user