diff options
Diffstat (limited to 'obj_blob.go')
| -rw-r--r-- | obj_blob.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/obj_blob.go b/obj_blob.go index eda0ca5f..5ae0c40e 100644 --- a/obj_blob.go +++ b/obj_blob.go @@ -2,7 +2,7 @@ package furgit // Blob represents the contents of a Git blob. type Blob struct { - objectBase + Hash Hash Data []byte } @@ -15,8 +15,8 @@ func (*Blob) ObjType() ObjType { func parseBlob(id Hash, body []byte) (*Blob, error) { data := append([]byte(nil), body...) return &Blob{ - objectBase: objectBase{Hash: id}, - Data: data, + Hash: id, + Data: data, }, nil } |
