diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/storage.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/storage.go b/core/storage.go index 607e5c6..add56d1 100644 --- a/core/storage.go +++ b/core/storage.go @@ -54,6 +54,7 @@ type ObjectIter interface { // A transaction must end with a call to Commit or Rollback. type TxObjectStorage interface { Set(Object) (Hash, error) + Get(ObjectType, Hash) (Object, error) Commit() error Rollback() error } |