shithub: furgit

ref: c0d1cc442031c8200df4a3a499c07081fab40553
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
}