ref: e7ce17381f525328073577d60583447fc9412c18
dir: /object/blob.go/
package object
import "codeberg.org/lindenii/furgit/objecttype"
// Blob represents a Git blob object.
//
// This Blob object is fully materialized in memory.
// Consider using objectstore/Store.ReadReaderContent,
// or appropriate streaming write APIs.
type Blob struct {
Data []byte
}
// ObjectType returns TypeBlob.
func (blob *Blob) ObjectType() objecttype.Type {
_ = blob
return objecttype.TypeBlob
}