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