aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/path-info.hh
AgeCommit message (Collapse)Author
2021-07-26Low-latency closure copyEelco Dolstra
This adds a new store operation 'addMultipleToStore' that reads a number of NARs and ValidPathInfos from a Source, allowing any number of store paths to be copied in a single call. This is much faster on high-latency links when copying a lot of small files, like .drv closures. For example, on a connection with an 50 ms delay: Before: $ nix copy --to 'unix:///tmp/proxy-socket?root=/tmp/dest-chroot' \ /nix/store/90jjw94xiyg5drj70whm9yll6xjj0ca9-hello-2.10.drv \ --derivation --no-check-sigs real 0m57.868s user 0m0.103s sys 0m0.056s After: real 0m0.690s user 0m0.017s sys 0m0.011s
2020-11-03LocalStore: Get rid of recursive_mutexEelco Dolstra
2020-08-06Minimize the usage of `Hash::dummy`John Ericson
2020-08-05Add Hash::dummy to signal default valueCarlo Nucera
We did this in the same spirit of the dummy value that's present in libstore/path.hh
2020-08-05Remove optionality in ValidPathInfo::narInfoCarlo Nucera
2020-08-03Merge remote-tracking branch 'upstream/master' into path-info-headerJohn Ericson
2020-06-25Move ValidPathInfo to its own headerJohn Ericson