about summary refs log tree commit diff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
authorWout Mertens <Wout.Mertens@gmail.com>2014-05-14T20·52+0200
committerWout Mertens <Wout.Mertens@gmail.com>2014-05-14T20·52+0200
commitd73ffc552f78e0d9048e3bcc1e84452d1e8d2ede (patch)
tree0273f4f7d4f73b92cd77a03f14f8170aee5d0c3f /src/libstore/local-store.hh
parente974f20c9811c3efe09cfca9bda7816f9091c0d5 (diff)
Use the inodes given by readdir directly
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 71229f7a69..b335092a20 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);