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/misc.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libstore/misc.cc') diff --git a/src/libstore/misc.cc b/src/libstore/misc.cc index 032dfe6581c0..12472f017ce4 100644 --- a/src/libstore/misc.cc +++ b/src/libstore/misc.cc @@ -7,7 +7,7 @@ namespace nix { -Derivation StoreAPI::derivationFromPath(const Path & drvPath) +Derivation Store::derivationFromPath(const Path & drvPath) { assertStorePath(drvPath); ensurePath(drvPath); @@ -15,7 +15,7 @@ Derivation StoreAPI::derivationFromPath(const Path & drvPath) } -void StoreAPI::computeFSClosure(const Path & path, +void Store::computeFSClosure(const Path & path, PathSet & paths, bool flipDirection, bool includeOutputs, bool includeDerivers) { if (paths.find(path) != paths.end()) return; @@ -59,7 +59,7 @@ void StoreAPI::computeFSClosure(const Path & path, } -void StoreAPI::queryMissing(const PathSet & targets, +void Store::queryMissing(const PathSet & targets, PathSet & willBuild, PathSet & willSubstitute, PathSet & unknown, unsigned long long & downloadSize, unsigned long long & narSize) { @@ -173,7 +173,7 @@ void StoreAPI::queryMissing(const PathSet & targets, } -Paths StoreAPI::topoSortPaths(const PathSet & paths) +Paths Store::topoSortPaths(const PathSet & paths) { Paths sorted; PathSet visited, parents; -- cgit 1.4.1