ref: 21e2f19ae2a3baa744b6bbed997f757f0af7e01f
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
}