diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-12-01 15:55:57 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-12-08 22:30:08 +0100 |
commit | a618a8c6203d4cf57f12873a86797b8685b11e14 (patch) | |
tree | b7b6eec5c5f387ccbaa8dfcd0859fa50047e6c8d /doc | |
parent | 79c6614f58a57b985daf8940766319e440311db0 (diff) | |
download | guix-a618a8c6203d4cf57f12873a86797b8685b11e14.tar.gz guix-a618a8c6203d4cf57f12873a86797b8685b11e14.zip |
daemon: Factorize substituter agent spawning.
* nix/libstore/local-store.hh (class LocalStore)[substituter]: New
method.
[runningSubstituter]: Turn into a shared_ptr.
* nix/libstore/local-store.cc (LocalStore::querySubstitutablePaths):
Call 'substituter' instead of using inline code.
(LocalStore::querySubstitutablePathInfos): Likewise.
(LocalStore::substituter): New method.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions