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/misc.cc | |
parent | c10c61449f954702ae6d8092120321744acd82ff (diff) |
StoreAPI -> Store
Calling a class an API is a bit redundant...
Diffstat (limited to 'src/libstore/misc.cc')
-rw-r--r-- | src/libstore/misc.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/misc.cc b/src/libstore/misc.cc index 032dfe658..12472f017 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; |