mirror of
https://github.com/kopia/kopia.git
synced 2026-10-23 22:58:42 -04:00
replaced use of Vault with Repository
This commit is contained in:
1 parent
50c2cd86a3
commit
4dcdb69dcc
21 files changed
+54
-99
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
// ParseObjectID interprets the given ID string and returns corresponding repo.ObjectID.
|
||||
func parseObjectID(id string, vlt *repo.Vault, r *repo.Repository) (repo.ObjectID, error) {
|
||||
func parseObjectID(id string, r *repo.Repository) (repo.ObjectID, error) {
|
||||
head, tail := splitHeadTail(id)
|
||||
if len(head) == 0 {
|
||||
return repo.NullObjectID, fmt.Errorf("invalid object ID: %v", id)
|
||||
|
||||
Reference in new issue
Block a user