aboutsummaryrefslogtreecommitdiffstats
path: root/core/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/storage.go')
-rw-r--r--core/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/storage.go b/core/storage.go
index f3ec52b..15d988a 100644
--- a/core/storage.go
+++ b/core/storage.go
@@ -18,7 +18,7 @@ type ObjectStorage interface {
// and AnyObject.
//
// If AnyObject is given, the object must be looked up regardless of its type.
- Get(Hash, ObjectType) (Object, error)
+ Get(ObjectType, Hash) (Object, error)
Iter(ObjectType) (ObjectIter, error)
}