summaryrefslogtreecommitdiff
path: root/nix/libstore/misc.hh
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2018-03-29 16:56:00 +0200
committerLudovic Courtès <ludo@gnu.org>2018-03-30 23:42:07 +0200
commitc7589cce8d3f9fcb7769e424f341dba8fb3545d0 (patch)
tree157c37d5933152efc20e2aa268a573b0ddad1bdc /nix/libstore/misc.hh
parentdffd077c59e0faf8200422572b7d3aab611f0348 (diff)
downloadgnu-guix-c7589cce8d3f9fcb7769e424f341dba8fb3545d0.tar
gnu-guix-c7589cce8d3f9fcb7769e424f341dba8fb3545d0.tar.gz
daemon: Remove dead code.
* nix/libstore/globals.cc (Settings::loadConfFile, Settings::unpack): Remove. * nix/libstore/globals.hh: Adjust accordingly. * nix/libstore/misc.cc (queryMissing): Remove. * nix/libstore/misc.hh: Adjust accordingly. * nix/libstore/store-api.cc (followLinksToStore) (followLinksToStorePath, computeStorePathForHash): Remove. * nix/libstore/store-api.hh: Adjust accordingly.
Diffstat (limited to 'nix/libstore/misc.hh')
-rw-r--r--nix/libstore/misc.hh7
1 files changed, 0 insertions, 7 deletions
diff --git a/nix/libstore/misc.hh b/nix/libstore/misc.hh
index d3e31d51f7..edbf24047e 100644
--- a/nix/libstore/misc.hh
+++ b/nix/libstore/misc.hh
@@ -25,13 +25,6 @@ void computeFSClosure(StoreAPI & store, const Path & path,
given derivation. */
Path findOutput(const Derivation & drv, string id);
-/* Given a set of paths that are to be built, return the set of
- derivations that will be built, and the set of output paths that
- will be substituted. */
-void queryMissing(StoreAPI & store, const PathSet & targets,
- PathSet & willBuild, PathSet & willSubstitute, PathSet & unknown,
- unsigned long long & downloadSize, unsigned long long & narSize);
-
bool willBuildLocally(const Derivation & drv);
bool substitutesAllowed(const Derivation & drv);