blob: 760b7d9060b3963a72afddacd4a337391c757118 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package resolve
import (
"io"
"codeberg.org/lindenii/furgit/objectid"
"codeberg.org/lindenii/furgit/objecttype"
)
// ExactBlobReader returns a reader for the content of the blob at id,
// together with its content size in bytes.
func (r *Resolver) ExactBlobReader(id objectid.ObjectID) (io.ReadCloser, int64, error) {
return r.exactReader(id, objecttype.TypeBlob, "blob")
}
|