Skip to content
Snippets Groups Projects
Commit 022ee379 authored by Antoine Lambert's avatar Antoine Lambert Committed by Antoine Lambert
Browse files

api, utils: Fetch content bytes from storage using all hash algorithms

When calling the content_get_data method from the storage interface,
ensure to provide all content hashes as parameter to avoid an extra
request on the storage server to fetch missing hashes.

Factorize code a bit to reuse the lookup_content function instead of
duplicating code.
parent 2001285a
No related branches found
No related tags found
No related merge requests found
Pipeline #13692 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment