mirror of
https://github.com/NixOS/nix
synced 2025-07-02 05:11:47 +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
|
@ -80,11 +80,11 @@ struct Derivation : BasicDerivation
|
|||
};
|
||||
|
||||
|
||||
class StoreAPI;
|
||||
class Store;
|
||||
|
||||
|
||||
/* Write a derivation to the Nix store, and return its path. */
|
||||
Path writeDerivation(ref<StoreAPI> store,
|
||||
Path writeDerivation(ref<Store> store,
|
||||
const Derivation & drv, const string & name, bool repair = false);
|
||||
|
||||
/* Read a derivation from a file. */
|
||||
|
@ -94,7 +94,7 @@ Derivation readDerivation(const Path & drvPath);
|
|||
derivations. */
|
||||
bool isDerivation(const string & fileName);
|
||||
|
||||
Hash hashDerivationModulo(StoreAPI & store, Derivation drv);
|
||||
Hash hashDerivationModulo(Store & store, Derivation drv);
|
||||
|
||||
/* Memoisation of hashDerivationModulo(). */
|
||||
typedef std::map<Path, Hash> DrvHashes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue