shithub: furgit

ref: 6378da9dcf8d991a00ee410bb5408231861d90c0
dir: /object/blob.go/

View raw version
package object

import "codeberg.org/lindenii/furgit/objecttype"

// Blob represents a Git blob object.
type Blob struct {
	Data []byte
}

// ObjectType returns TypeBlob.
func (blob *Blob) ObjectType() objecttype.Type {
	_ = blob
	return objecttype.TypeBlob
}