From fa7cd5369b7d9f947b0b26ca681e94b81068a3ef Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 4 Feb 2016 14:48:42 +0100 Subject: StoreAPI -> Store Calling a class an API is a bit redundant... --- src/libstore/store-api.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libstore/store-api.hh') diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index ce085ff55e89..1e43064394df 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 store, const Path & storePath, +Path addPermRoot(ref 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 openStore(bool reserveSpace = true); +ref openStore(bool reserveSpace = true); /* Display a set of paths in human-readable form (i.e., between quotes -- cgit 1.4.1