aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/download.hh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2016-08-15 07:37:11 -0400
committerShea Levy <shea@shealevy.com>2016-08-15 07:37:11 -0400
commitd52d391164d9a6fb4a2efec2777e24de5e19b225 (patch)
tree4e1ab818d97a2054abd612b3358b7bb1c18f7102 /src/libstore/download.hh
parenteff80419c76eb7d77d3b434a45fb9e18d53d1d19 (diff)
builtins.fetch{url,tarball}: Allow name attribute
Diffstat (limited to 'src/libstore/download.hh')
-rw-r--r--src/libstore/download.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh
index 1f6098759..08618ba1c 100644
--- a/src/libstore/download.hh
+++ b/src/libstore/download.hh
@@ -29,7 +29,7 @@ struct Downloader
{
virtual DownloadResult download(string url, const DownloadOptions & options) = 0;
- Path downloadCached(ref<Store> store, const string & url, bool unpack,
+ Path downloadCached(ref<Store> store, const string & url, bool unpack, string name = "",
const Hash & expectedHash = Hash());
enum Error { NotFound, Forbidden, Misc, Transient };