aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/download.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/download.hh')
-rw-r--r--src/libstore/download.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh
index 5a131c704..487036833 100644
--- a/src/libstore/download.hh
+++ b/src/libstore/download.hh
@@ -72,6 +72,8 @@ struct CachedDownloadRequest
std::string name;
Hash expectedHash;
unsigned int ttl;
+ bool gcRoot = false;
+ bool getLastModified = false;
CachedDownloadRequest(const std::string & uri);
CachedDownloadRequest() = delete;
@@ -85,6 +87,7 @@ struct CachedDownloadResult
Path path;
std::optional<std::string> etag;
std::string effectiveUri;
+ std::optional<time_t> lastModified;
};
class Store;