From eb3036da87659fe7cf384c2362e7f7b8b67189a1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 11 Jul 2012 10:43:24 -0400 Subject: Implement querySubstitutablePathInfos() in the daemon Also removed querySubstitutablePathInfo(). --- src/libstore/local-store.cc | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/libstore/local-store.cc') diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index b4ea4b748178..339e507957f6 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -967,18 +967,6 @@ void LocalStore::querySubstitutablePathInfos(const Path & substituter, } -bool LocalStore::querySubstitutablePathInfo(const Path & path, - SubstitutablePathInfo & info) -{ - SubstitutablePathInfos infos; - querySubstitutablePathInfos(singleton(path), infos); - SubstitutablePathInfos::iterator i = infos.find(path); - if (i == infos.end()) return false; - info = i->second; - return true; -} - - void LocalStore::querySubstitutablePathInfos(const PathSet & paths, SubstitutablePathInfos & infos) { -- cgit 1.4.1