mirror of
https://github.com/restic/restic.git
synced 2026-11-28 15:26:48 +00:00
Rename 'Repository' -> Repo
This commit is contained in:
1 parent
5fc1583acc
commit
ae21938f3e
15 files changed
+106
-106
No files matched your search
+1
-1
@@ -50,7 +50,7 @@ func NewSnapshot(paths []string) (*Snapshot, error) {
|
||||
return sn, nil
|
||||
}
|
||||
|
||||
func LoadSnapshot(repo *repo.Repository, id backend.ID) (*Snapshot, error) {
|
||||
func LoadSnapshot(repo *repo.Repo, id backend.ID) (*Snapshot, error) {
|
||||
sn := &Snapshot{id: id}
|
||||
err := repo.LoadJSONUnpacked(backend.Snapshot, id, sn)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user