Page MenuHomeSoftware Heritage

D8596.diff
No OneTemporary

D8596.diff

diff --git a/swh/loader/package/utils.py b/swh/loader/package/utils.py
--- a/swh/loader/package/utils.py
+++ b/swh/loader/package/utils.py
@@ -79,14 +79,14 @@
auth: Optional[Tuple[str, str]] = None,
extra_request_headers: Optional[Dict[str, str]] = None,
) -> Tuple[str, Dict]:
- """Download a remote tarball from url, uncompresses and computes swh hashes
- on it.
+ """Download a remote file from url, and compute swh hashes on it.
Args:
- url: Artifact uri to fetch, uncompress and hash
+ url: Artifact uri to fetch and hash
dest: Directory to write the archive to
hashes: Dict of expected hashes (key is the hash algo) for the artifact
- to download (those hashes are expected to be hex string)
+ to download (those hashes are expected to be hex string). The supported
+ algorithms are defined in the :data:`swh.model.hashutil.ALGORITHMS` set.
auth: Optional tuple of login/password (for http authentication
service, e.g. deposit)

File Metadata

Mime Type
text/plain
Expires
Dec 21 2024, 2:17 PM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3226155

Event Timeline