1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-04 15:31:47 +02:00

Further improve upload messages

This commit is contained in:
Eelco Dolstra 2018-06-05 14:37:26 +02:00
parent a936a19da3
commit a2ec7a3bfd
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 11 additions and 8 deletions

View file

@ -25,6 +25,11 @@ struct DownloadRequest
DownloadRequest(const std::string & uri)
: uri(uri), parentAct(getCurActivity()) { }
std::string verb()
{
return data ? "upload" : "download";
}
};
struct DownloadResult