Skip to content
Snippets Groups Projects
Commit 224085b8 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 e124c6e0
Branches master
Tags v0.11.0
1 merge request!1392api, utils: Fetch content bytes from storage using all hash algorithms
Pipeline #13714 passed