aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/blob.go
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2017-02-07 17:26:13 +0100
committerSantiago M. Mola <santi@mola.io>2017-02-07 17:26:13 +0100
commit62666856d9f4b3150671eb1f215a7072c02c0bc6 (patch)
tree3cd937fbca4386bf3454ed217546b7c42d8bf93a /plumbing/object/blob.go
parent1f39465975d56bbb02f5cdfb1e3e77f41c613f1d (diff)
downloadgo-git-62666856d9f4b3150671eb1f215a7072c02c0bc6.tar.gz
doc: add object fields godoc
Diffstat (limited to 'plumbing/object/blob.go')
-rw-r--r--plumbing/object/blob.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/plumbing/object/blob.go b/plumbing/object/blob.go
index e44753c..4c9e84d 100644
--- a/plumbing/object/blob.go
+++ b/plumbing/object/blob.go
@@ -10,7 +10,9 @@ import (
// Blob is used to store arbitrary data - it is generally a file.
type Blob struct {
+ // Hash of the blob.
Hash plumbing.Hash
+ // Size of the (uncompressed) blob.
Size int64
obj plumbing.EncodedObject