StoreAPI -> Store

Calling a class an API is a bit redundant...
This commit is contained in:
Eelco Dolstra
2016-02-04 14:48:42 +01:00
parent c10c61449f
commit fa7cd5369b
24 changed files with 51 additions and 51 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
namespace nix {
class StoreAPI;
class Store;
/* Some common option parsing between nix-env and nix-instantiate. */
bool parseAutoArgs(Strings::iterator & i,
+1 -1
View File
@@ -244,7 +244,7 @@ static Strings parseNixPath(const string & in)
}
EvalState::EvalState(const Strings & _searchPath, ref<StoreAPI> store)
EvalState::EvalState(const Strings & _searchPath, ref<Store> store)
: sWith(symbols.create("<with>"))
, sOutPath(symbols.create("outPath"))
, sDrvPath(symbols.create("drvPath"))
+3 -3
View File
@@ -16,7 +16,7 @@
namespace nix {
class StoreAPI;
class Store;
class EvalState;
@@ -83,7 +83,7 @@ public:
Value vEmptySet;
const ref<StoreAPI> store;
const ref<Store> store;
private:
SrcToStore srcToStore;
@@ -100,7 +100,7 @@ private:
public:
EvalState(const Strings & _searchPath, ref<StoreAPI> store);
EvalState(const Strings & _searchPath, ref<Store> store);
~EvalState();
void addToSearchPath(const string & s, bool warn = false);