diff options
| author | 2026-03-06 14:34:28 +0800 | |
|---|---|---|
| committer | 2026-03-06 14:35:33 +0800 | |
| commit | 965c596f16fba5943c0ee0baa7522de31cdf1a12 (patch) | |
| tree | df7ea5cfdd21303dea2a00a80824f068ff6b73ed /object/blob.go | |
| parent | format/pktline: Add pktline (diff) | |
| signature | No signature | |
object: Consider using a streaming API for blobs
Diffstat (limited to 'object/blob.go')
| -rw-r--r-- | object/blob.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/object/blob.go b/object/blob.go index 9c507e1f..bd26ed1d 100644 --- a/object/blob.go +++ b/object/blob.go @@ -3,6 +3,10 @@ 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 } |
