libstore/download: remove unused function "getTime()"

This commit is contained in:
Will Dietz 2018-05-25 19:49:45 -05:00
parent 1df32c7d7c
commit ca9c6cb95d

View file

@ -29,13 +29,6 @@ using namespace std::string_literals;
namespace nix {
double getTime()
{
struct timeval tv;
gettimeofday(&tv, 0);
return tv.tv_sec + (tv.tv_usec / 1000000.0);
}
std::string resolveUri(const std::string & uri)
{
if (uri.compare(0, 8, "channel:") == 0)