Client Preparation: BlobService::GetBatchMetadata
Conversation https://gitlab.com/gitlab-org/gitaly/issues/423
Blocks #310
Gitlab::Git::Blob.batch_metadata(repository, blob_oids)
New Rugged Method From https://gitlab.com/gitlab-org/gitaly/issues/310#note_35866579
- best solution looks like implementing two batch calls on Gitlab::Git::Blob, changing view code to use the batch calls, and migrating the batch calls to Gitaly.
-
Gitlab::Git::Blob.batch_metadata(repository, blob_oids)
-> enumerator of Gitlab::Git::Blob instances withid
,size
,binary
,lfs_size
,lfs_oid
populated
Edited by Andrew Newdigate