aboutsummaryrefslogtreecommitdiffstats
path: root/core/storage.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-08-29 23:06:10 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-08-29 23:06:10 +0200
commitb73657f1aa7016bdd4c2cbd50bee4c20d5ab69ef (patch)
tree7f93f11b91b84e605a26f573d40791a4f6cb49d0 /core/storage.go
parente4246138cb9ffb819c052ba17a9fbdf915427291 (diff)
downloadgo-git-b73657f1aa7016bdd4c2cbd50bee4c20d5ab69ef.tar.gz
core: Storage.Get, switch order of args
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)
}