func (b *Blob) Type() plumbing.ObjectType {
	return plumbing.BlobObject
}
Type returns the type of object. It always returns plumbing.BlobObject.

Type is present to fulfill the Object interface.
package object
import (
	"io"
	"gopkg.in/src-d/go-git.v4/plumbing"
	"gopkg.in/src-d/go-git.v4/plumbing/storer"
	"gopkg.in/src-d/go-git.v4/utils/ioutil"
)
type Blob struct {
	Hash plumbing.Hash
	Size int64
	obj plumbing.EncodedObject
}
func GetBlob(s storer.EncodedObjectStorer, h plumbing.Hash) (*Blob, error) {
	o, err := s.EncodedObject(plumbing.BlobObject, h)
	if err != nil {
		return nil, err
	}
	return DecodeBlob(o)
}
func DecodeBlob(o plumbing.EncodedObject) (*Blob, error) {
	b := &Blob{}
	if err := b.Decode(o); err != nil {
		return nil, err
	}
	return b, nil
}
func (b *Blob) ID() plumbing.Hash {
	return b.Hash
}