aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/tarball.cc
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-05-01 18:01:19 +0200
committereldritch horrors <pennae@lix.systems>2024-06-18 23:58:25 +0000
commit0b9a72524af84003de4b19b4eef0027d416e0972 (patch)
tree58258a859445a38df24ecc302611ba82a9074d5c /src/libfetchers/tarball.cc
parentb9b1bbd22fc3b34a4d8e2090f0d033f742c32ee0 (diff)
filetransfer: {up,down}load -> transfer
even the transfer function is not all that necessary since there aren't that many users, but we'll keep it for now. we could've kept both names but we also kind of want to use `download` for something else very soon Change-Id: I005e403ee59de433e139e37aa2045c26a523ccbf
Diffstat (limited to 'src/libfetchers/tarball.cc')
-rw-r--r--src/libfetchers/tarball.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfetchers/tarball.cc b/src/libfetchers/tarball.cc
index cda6b7acb..c903895e2 100644
--- a/src/libfetchers/tarball.cc
+++ b/src/libfetchers/tarball.cc
@@ -46,7 +46,7 @@ DownloadFileResult downloadFile(
request.expectedETag = getStrAttr(cached->infoAttrs, "etag");
FileTransferResult res;
try {
- res = getFileTransfer()->download(request);
+ res = getFileTransfer()->transfer(request);
} catch (FileTransferError & e) {
if (cached) {
warn("%s; using cached version", e.msg());