From bffb03eae172018d4095d6d0bea1735b338e4fa6 Mon Sep 17 00:00:00 2001 From: Wouter den Breejen Date: Thu, 7 Feb 2008 00:06:04 +0000 Subject: [PATCH] makeValidityRegistration only supports store paths for now .... --- src/libstore/store-api.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 15f93e6d3..0091f6569 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -237,7 +237,7 @@ Path computeStorePathForText(const string & suffix, const string & s, /* Return a string accepted by decodeValidPathInfo() that registers the specified paths as valid. Note: it's the responsibility of the caller to provide a closure. */ -string makeValidityRegistration(const PathSet & paths, +string makeValidityRegistration(const PathSet & paths, // TODO !!!!!!!!!!!!!!!!!!!!!! makeValidityRegistration CHECK CALLS FOR STATE PASSINGS? bool showDerivers, bool showHash) { string s = ""; @@ -252,7 +252,7 @@ string makeValidityRegistration(const PathSet & paths, s += deriver + "\n"; PathSet references; - store->queryReferences(*i, references); + store->queryStoreReferences(*i, references, 0); //TODO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WE MAY NEED STATE??? s += (format("%1%\n") % references.size()).str();