aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index 71229f7a6..b335092a2 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -309,13 +309,13 @@ private:
void checkDerivationOutputs(const Path & drvPath, const Derivation & drv);
#if HAVE_TR1_UNORDERED_SET
- typedef std::tr1::unordered_set<ino_t> Hashes;
+ typedef std::tr1::unordered_set<ino_t> InodeHash;
#else
- typedef std::set<ino_t> Hashes;
+ typedef std::set<ino_t> InodeHash;
#endif
- void loadHashes(Hashes & hashes);
- void optimisePath_(OptimiseStats & stats, const Path & path, Hashes & hashes);
+ InodeHash loadInodeHash();
+ void optimisePath_(OptimiseStats & stats, const Path & path, InodeHash & inodeHash);
// Internal versions that are not wrapped in retry_sqlite.
bool isValidPath_(const Path & path);