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