aboutsummaryrefslogtreecommitdiff
path: root/object/blob.go
blob: 9c507e1fa7e61d97d5e88e22669a875f0431f491 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}