download: factor out the logic for building cache filenames
authorBaptiste Jonglez <git@bitsofnetworks.org>
Mon, 24 Aug 2020 23:00:30 +0000 (01:00 +0200)
committerPaul Spooren <mail@aparcar.org>
Tue, 24 Nov 2020 22:07:51 +0000 (12:07 -1000)
commit1c1480e573fc6b4c5f9c51bf225c32456672e5f8
tree3183a7cc9be548de3fd1cd57806235965711b4b8
parent293b1cef8b5a6de64d3fec87c01729b64006713a
download: factor out the logic for building cache filenames

If we want to access files in the cache from multiple functions, it is
necessary to have a single source of truth regarding the naming of files
in the cache.

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
libopkg/opkg_download.c