mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +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
|
@ -135,11 +135,11 @@ struct BasicDerivation;
|
|||
struct Derivation;
|
||||
|
||||
|
||||
class StoreAPI
|
||||
class Store
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~StoreAPI() { }
|
||||
virtual ~Store() { }
|
||||
|
||||
/* Check whether a path is valid. */
|
||||
virtual bool isValidPath(const Path & path) = 0;
|
||||
|
@ -407,13 +407,13 @@ void removeTempRoots();
|
|||
|
||||
|
||||
/* Register a permanent GC root. */
|
||||
Path addPermRoot(ref<StoreAPI> store, const Path & storePath,
|
||||
Path addPermRoot(ref<Store> store, const Path & storePath,
|
||||
const Path & gcRoot, bool indirect, bool allowOutsideRootsDir = false);
|
||||
|
||||
|
||||
/* Factory method: open the Nix database, either through the local or
|
||||
remote implementation. */
|
||||
ref<StoreAPI> openStore(bool reserveSpace = true);
|
||||
ref<Store> openStore(bool reserveSpace = true);
|
||||
|
||||
|
||||
/* Display a set of paths in human-readable form (i.e., between quotes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue