aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store-api.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-04 14:48:42 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-04 14:48:42 +0100
commitfa7cd5369b7d9f947b0b26ca681e94b81068a3ef (patch)
treec31cd0f58e516929a21000de609958b73b7059c7 /src/libstore/store-api.cc
parentc10c61449f954702ae6d8092120321744acd82ff (diff)
StoreAPI -> Store
Calling a class an API is a bit redundant...
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r--src/libstore/store-api.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc
index 98399cc48..e205fd0e8 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<StoreAPI> openStore(bool reserveSpace)
+ref<Store> openStore(bool reserveSpace)
{
enum { mDaemon, mLocal, mAuto } mode;
@@ -322,8 +322,8 @@ ref<StoreAPI> openStore(bool reserveSpace)
}
return mode == mDaemon
- ? make_ref<StoreAPI, RemoteStore>()
- : make_ref<StoreAPI, LocalStore>(reserveSpace);
+ ? make_ref<Store, RemoteStore>()
+ : make_ref<Store, LocalStore>(reserveSpace);
}