diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-04 14:48:42 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-04 14:48:42 +0100 |
commit | fa7cd5369b7d9f947b0b26ca681e94b81068a3ef (patch) | |
tree | c31cd0f58e516929a21000de609958b73b7059c7 /src/libstore/store-api.hh | |
parent | c10c61449f954702ae6d8092120321744acd82ff (diff) |
StoreAPI -> Store
Calling a class an API is a bit redundant...
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r-- | src/libstore/store-api.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index ce085ff55..1e4306439 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -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 |