ref: 803089a76171db1dd5b891fb6dfa1b7e7f3d50d2
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
}