diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-08 23:58:41 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-08 23:58:41 +0200 |
commit | 3b1baea2dd9353f42b3a9d93f6bc92ecbe9f4f01 (patch) | |
tree | d255b7e6edbcbaba1f98cf0c666a82c0f9750019 /core | |
parent | 2293a3dbda0a96f5cbac851bb73e1e675417e4f3 (diff) | |
download | go-git-3b1baea2dd9353f42b3a9d93f6bc92ecbe9f4f01.tar.gz |
format: packfile based on ObjectStorage and CRC32 calculation
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 } |