mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
StoreAPI -> Store
Calling a class an API is a bit redundant...
This commit is contained in:
parent
c10c61449f
commit
fa7cd5369b
24 changed files with 51 additions and 51 deletions
|
@ -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,
|
||||
|
|
|
@ -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"))
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue