about summary refs log tree commit diff
path: root/src/libstore/store-api.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-16T10·49+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-16T10·49+0100
commit5ac27053e9bc4722dde5bd3243488d8e9a0b4623 (patch)
tree383aa0f6b98ebc3d214f48f2fc4632ea54d510e7 /src/libstore/store-api.hh
parent92063851b1c49a5c96cf86b0b61d840dfe155964 (diff)
Rename ValidPathInfo::hash -> narHash for consistency
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r--src/libstore/store-api.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh
index 54029bc13efb..6f50e3c55aba 100644
--- a/src/libstore/store-api.hh
+++ b/src/libstore/store-api.hh
@@ -92,7 +92,7 @@ struct ValidPathInfo
 {
     Path path;
     Path deriver;
-    Hash hash;
+    Hash narHash;
     PathSet references;
     time_t registrationTime = 0;
     unsigned long long narSize = 0; // 0 = unknown
@@ -102,7 +102,7 @@ struct ValidPathInfo
     {
         return
             path == i.path
-            && hash == i.hash
+            && narHash == i.narHash
             && references == i.references;
     }
 };