mirror of
https://github.com/restic/restic.git
synced 2026-10-24 09:48:54 +00:00
repository: Rename LoadAndDecrypt to LoadUnpacked
The method is the complement for SaveUnpacked and not for SaveAndEncrypt. The latter assembles blobs into pack files.
This commit is contained in:
1 parent
2e1613d4c6
commit
6877e7edbb
5 files changed
+10
-10
No files matched your search
@@ -79,7 +79,7 @@ func runCat(gopts GlobalOptions, args []string) error {
|
||||
Println(string(buf))
|
||||
return nil
|
||||
case "index":
|
||||
buf, err := repo.LoadAndDecrypt(gopts.ctx, nil, restic.IndexFile, id)
|
||||
buf, err := repo.LoadUnpacked(gopts.ctx, nil, restic.IndexFile, id)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user