aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikola Knezevic <nikola@knezevic.ch>2020-04-06 15:10:58 +0200
committerNikola Knezevic <nikola@knezevic.ch>2020-04-08 22:26:57 +0200
commit741e9012d3fa6f0fb41a4a5662c6b8b38ecfaa1f (patch)
tree9293a430aa5dceb4c05666efd785613b52d62dab /src
parent65ef57e0cbded52652510355304303a7b71586af (diff)
Rename src/lib/download.* to src/lib/datatransfer.*
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/common-eval-args.cc2
-rw-r--r--src/libexpr/eval.cc2
-rw-r--r--src/libexpr/parser.y2
-rw-r--r--src/libstore/build.cc2
-rw-r--r--src/libstore/builtins/fetchurl.cc2
-rw-r--r--src/libstore/datatransfer.cc (renamed from src/libstore/download.cc)2
-rw-r--r--src/libstore/datatransfer.hh (renamed from src/libstore/download.hh)0
-rw-r--r--src/libstore/http-binary-cache-store.cc2
-rw-r--r--src/libstore/s3-binary-cache-store.cc2
-rwxr-xr-xsrc/nix-channel/nix-channel.cc2
-rw-r--r--src/nix-prefetch-url/nix-prefetch-url.cc2
-rw-r--r--src/nix/main.cc2
-rw-r--r--src/nix/upgrade-nix.cc2
13 files changed, 12 insertions, 12 deletions
diff --git a/src/libexpr/common-eval-args.cc b/src/libexpr/common-eval-args.cc
index 82bfeac36..26460601d 100644
--- a/src/libexpr/common-eval-args.cc
+++ b/src/libexpr/common-eval-args.cc
@@ -1,6 +1,6 @@
#include "common-eval-args.hh"
#include "shared.hh"
-#include "download.hh"
+#include "datatransfer.hh"
#include "util.hh"
#include "eval.hh"
#include "fetchers.hh"
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index dac32b6f5..7a20c6fa6 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -5,7 +5,7 @@
#include "derivations.hh"
#include "globals.hh"
#include "eval-inline.hh"
-#include "download.hh"
+#include "datatransfer.hh"
#include "json.hh"
#include "function-trace.hh"
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y
index 6f25f5cf0..96b6f0ecd 100644
--- a/src/libexpr/parser.y
+++ b/src/libexpr/parser.y
@@ -544,7 +544,7 @@ formal
#include <unistd.h>
#include "eval.hh"
-#include "download.hh"
+#include "datatransfer.hh"
#include "fetchers.hh"
#include "store-api.hh"
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 632982ecd..db01d9510 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -7,7 +7,7 @@
#include "affinity.hh"
#include "builtins.hh"
#include "builtins/buildenv.hh"
-#include "download.hh"
+#include "datatransfer.hh"
#include "finally.hh"
#include "compression.hh"
#include "json.hh"
diff --git a/src/libstore/builtins/fetchurl.cc b/src/libstore/builtins/fetchurl.cc
index a939f040f..01d21fa98 100644
--- a/src/libstore/builtins/fetchurl.cc
+++ b/src/libstore/builtins/fetchurl.cc
@@ -1,5 +1,5 @@
#include "builtins.hh"
-#include "download.hh"
+#include "datatransfer.hh"
#include "store-api.hh"
#include "archive.hh"
#include "compression.hh"
diff --git a/src/libstore/download.cc b/src/libstore/datatransfer.cc
index 77f3c527a..30ad48577 100644
--- a/src/libstore/download.cc
+++ b/src/libstore/datatransfer.cc
@@ -1,4 +1,4 @@
-#include "download.hh"
+#include "datatransfer.hh"
#include "util.hh"
#include "globals.hh"
#include "store-api.hh"
diff --git a/src/libstore/download.hh b/src/libstore/datatransfer.hh
index 89d3fce7f..89d3fce7f 100644
--- a/src/libstore/download.hh
+++ b/src/libstore/datatransfer.hh
diff --git a/src/libstore/http-binary-cache-store.cc b/src/libstore/http-binary-cache-store.cc
index e152e7524..1fccee518 100644
--- a/src/libstore/http-binary-cache-store.cc
+++ b/src/libstore/http-binary-cache-store.cc
@@ -1,5 +1,5 @@
#include "binary-cache-store.hh"
-#include "download.hh"
+#include "datatransfer.hh"
#include "globals.hh"
#include "nar-info-disk-cache.hh"
diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc
index f2e4b63e0..ed3c690b6 100644
--- a/src/libstore/s3-binary-cache-store.cc
+++ b/src/libstore/s3-binary-cache-store.cc
@@ -6,7 +6,7 @@
#include "nar-info-disk-cache.hh"
#include "globals.hh"
#include "compression.hh"
-#include "download.hh"
+#include "datatransfer.hh"
#include "istringstream_nocopy.hh"
#include <aws/core/Aws.h>
diff --git a/src/nix-channel/nix-channel.cc b/src/nix-channel/nix-channel.cc
index 2a9defb4e..d0719194d 100755
--- a/src/nix-channel/nix-channel.cc
+++ b/src/nix-channel/nix-channel.cc
@@ -1,6 +1,6 @@
#include "shared.hh"
#include "globals.hh"
-#include "download.hh"
+#include "datatransfer.hh"
#include "store-api.hh"
#include "../nix/legacy.hh"
#include "fetchers.hh"
diff --git a/src/nix-prefetch-url/nix-prefetch-url.cc b/src/nix-prefetch-url/nix-prefetch-url.cc
index bfd65da98..58a180e72 100644
--- a/src/nix-prefetch-url/nix-prefetch-url.cc
+++ b/src/nix-prefetch-url/nix-prefetch-url.cc
@@ -1,6 +1,6 @@
#include "hash.hh"
#include "shared.hh"
-#include "download.hh"
+#include "datatransfer.hh"
#include "store-api.hh"
#include "eval.hh"
#include "eval-inline.hh"
diff --git a/src/nix/main.cc b/src/nix/main.cc
index 3b5f5516f..ad4102201 100644
--- a/src/nix/main.cc
+++ b/src/nix/main.cc
@@ -8,7 +8,7 @@
#include "shared.hh"
#include "store-api.hh"
#include "progress-bar.hh"
-#include "download.hh"
+#include "datatransfer.hh"
#include "finally.hh"
#include <sys/types.h>
diff --git a/src/nix/upgrade-nix.cc b/src/nix/upgrade-nix.cc
index aeaf7b09c..414689ec5 100644
--- a/src/nix/upgrade-nix.cc
+++ b/src/nix/upgrade-nix.cc
@@ -1,7 +1,7 @@
#include "command.hh"
#include "common-args.hh"
#include "store-api.hh"
-#include "download.hh"
+#include "datatransfer.hh"
#include "eval.hh"
#include "attr-path.hh"
#include "names.hh"