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