diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-04-09 13:51:57 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-04-09 13:51:57 +0200 |
commit | 42f0246698cff491f084547f7aaa9e778f629065 (patch) | |
tree | 8fc920cf581fd8533bc44d6a6dd4d8e996ebc479 /src/libfetchers/fetchers.hh | |
parent | 906adadacd2d1c98346a2f42c0b42a32d2806d94 (diff) |
Revert "libfetchers/tarball: Lock on effectiveUrl"
This reverts commit fc6bfb261d50102016ed812ecf9949d41fe539f7.
Fixes #4672.
Diffstat (limited to 'src/libfetchers/fetchers.hh')
-rw-r--r-- | src/libfetchers/fetchers.hh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/libfetchers/fetchers.hh b/src/libfetchers/fetchers.hh index c6b219c02..a72cfafa4 100644 --- a/src/libfetchers/fetchers.hh +++ b/src/libfetchers/fetchers.hh @@ -145,13 +145,7 @@ DownloadFileResult downloadFile( bool immutable, const Headers & headers = {}); -struct DownloadTarballMeta -{ - time_t lastModified; - std::string effectiveUrl; -}; - -std::pair<Tree, DownloadTarballMeta> downloadTarball( +std::pair<Tree, time_t> downloadTarball( ref<Store> store, const std::string & url, const std::string & name, |