From fa7cd5369b7d9f947b0b26ca681e94b81068a3ef Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 4 Feb 2016 14:48:42 +0100 Subject: StoreAPI -> Store Calling a class an API is a bit redundant... --- src/libstore/store-api.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libstore/store-api.cc') diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 98399cc485..e205fd0e8f 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -220,7 +220,7 @@ Path computeStorePathForText(const string & name, 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 StoreAPI::makeValidityRegistration(const PathSet & paths, +string Store::makeValidityRegistration(const PathSet & paths, bool showDerivers, bool showHash) { string s = ""; @@ -284,7 +284,7 @@ string showPaths(const PathSet & paths) } -void StoreAPI::exportPaths(const Paths & paths, +void Store::exportPaths(const Paths & paths, bool sign, Sink & sink) { for (auto & i : paths) { @@ -306,7 +306,7 @@ void StoreAPI::exportPaths(const Paths & paths, namespace nix { -ref openStore(bool reserveSpace) +ref openStore(bool reserveSpace) { enum { mDaemon, mLocal, mAuto } mode; @@ -322,8 +322,8 @@ ref openStore(bool reserveSpace) } return mode == mDaemon - ? make_ref() - : make_ref(reserveSpace); + ? make_ref() + : make_ref(reserveSpace); } -- cgit 1.4.1