StoreAPI -> Store
Calling a class an API is a bit redundant...
This commit is contained in:
@@ -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
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user