diff options
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 f56274b23..da55df7a6 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 |