shithub: furgit

ref: 20a26c67f53252f643a9f20bac0fd73b3b8be863
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
}