shithub: furgit

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