Expand description
Shared download logic between HttpRegistry
and RemoteRegistry
.
Constants§
Functions§
- download 🔒
- Checks if
pkg
is downloaded and ready under the directory atcache_path
. If not, returns a URL to download it from. - finish_
download 🔒 - Verifies the integrity of
data
withchecksum
and persists it under the directory atcache_path
. - is_
crate_ 🔒downloaded - Checks if a tarball of
pkg
has been already downloaded under the directory atcache_path
.