mirror of
https://github.com/restic/restic.git
synced 2025-10-27 05:51:05 +00:00
repository: Rename Load() -> LoadAndDecrypt()
This commit is contained in:
@@ -79,7 +79,7 @@ func (cmd CmdCat) Execute(args []string) error {
|
||||
fmt.Println(string(buf))
|
||||
return nil
|
||||
case "index":
|
||||
buf, err := repo.Load(backend.Index, id)
|
||||
buf, err := repo.LoadAndDecrypt(backend.Index, id)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user