BlobObject returns a Blob with the given hash. If not found plumbing.ErrObjectNotFound is returned.
(h plumbing.Hash)
| 1440 | // BlobObject returns a Blob with the given hash. If not found |
| 1441 | // plumbing.ErrObjectNotFound is returned. |
| 1442 | func (r *Repository) BlobObject(h plumbing.Hash) (*object.Blob, error) { |
| 1443 | return object.GetBlob(r.Storer, h) |
| 1444 | } |
| 1445 | |
| 1446 | // BlobObjects returns an unsorted BlobIter with all the blobs in the repository. |
| 1447 | func (r *Repository) BlobObjects() (*object.BlobIter, error) { |