diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-06-05T12·37+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-06-05T12·37+0200 |
commit | a2ec7a3bfd33a4792185a74e2ae20b48f7ac2de9 (patch) | |
tree | 0bccff5602f8700849c42d7fba5f87972f466473 /src/libstore/download.hh | |
parent | a936a19da3c338ae55a31eda8ce446cbbc37de5a (diff) |
Further improve upload messages
Diffstat (limited to 'src/libstore/download.hh')
-rw-r--r-- | src/libstore/download.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh index f56274b2353c..da55df7a6e71 100644 --- a/src/libstore/download.hh +++ b/src/libstore/download.hh @@ -25,6 +25,11 @@ struct DownloadRequest DownloadRequest(const std::string & uri) : uri(uri), parentAct(getCurActivity()) { } + + std::string verb() + { + return data ? "upload" : "download"; + } }; struct DownloadResult |