aboutsummaryrefslogtreecommitdiffstats
path: root/formats/packfile/objects.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2015-10-25 12:34:25 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2015-10-25 12:34:25 +0100
commitbe69a505926451bf10450ac68d40265a6f43e150 (patch)
treec0c4a19d75a5cb9158d1d35419918d806b251dfd /formats/packfile/objects.go
parentf5dfba3742d551411ed0d6279c18f867b6496368 (diff)
downloadgo-git-be69a505926451bf10450ac68d40265a6f43e150.tar.gz
formats/packfile: new reader API (wip)
Diffstat (limited to 'formats/packfile/objects.go')
-rw-r--r--formats/packfile/objects.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/formats/packfile/objects.go b/formats/packfile/objects.go
index bd76896..9286090 100644
--- a/formats/packfile/objects.go
+++ b/formats/packfile/objects.go
@@ -36,6 +36,7 @@ func (t ObjectType) String() string {
type RAWObject struct {
Hash Hash
Type ObjectType
+ Size uint64
Bytes []byte
}