blob: 1c827190d6c7a6af4fee71297f2ec48c5a7dcab0 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package object
import objecttype "codeberg.org/lindenii/furgit/object/type"
// Blob represents a Git blob object.
//
// This Blob object is fully materialized in memory.
// Consider using objectstorer/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
}
|