aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/serialise.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-10-16 00:12:40 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-10-16 00:20:51 +0200
commit0ab64729e98757d2893e9b29f6ee5996f302fb68 (patch)
tree2b7f5e987b2194021f2fc544f7de9c2710907d5d /src/libutil/serialise.cc
parent14a89aa8cdc4cf9d22187a34513a6f9709be0c5d (diff)
Improve GitHub caching
In particular, when building a flake lock file, inputs like 'nixpkgs' are now downloaded only once. Previously, it would fetch https://api.github.com/repos/<owner>/<repo>/tarball/<ref> and then later https://api.github.com/repos/<owner>/<repo>/tarball/<rev>, even though they produce the same result. Git and GitHub now also share a cache that maps revs to a store path and other info.
Diffstat (limited to 'src/libutil/serialise.cc')
0 files changed, 0 insertions, 0 deletions