about summary refs log tree commit diff
path: root/src/globals.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/globals.hh')
-rw-r--r--src/globals.hh19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/globals.hh b/src/globals.hh
index 8c6a763c48e3..2fb9fe7476d3 100644
--- a/src/globals.hh
+++ b/src/globals.hh
@@ -8,11 +8,11 @@ using namespace std;
 
 /* Database names. */
 
-/* dbRefs :: Hash -> Path
+/* dbHash2Paths :: Hash -> [Path]
 
-   Maintains a mapping from hashes to paths.  This is what we use to
-   resolve CHash(hash) content descriptors. */
-extern string dbRefs;
+   Maintains a mapping from hashes to lists of paths.  This is what we
+   use to resolve Hash(hash) content descriptors. */
+extern string dbHash2Paths;
 
 /* dbSuccessors :: Hash -> Hash
 
@@ -30,17 +30,6 @@ extern string dbRefs;
 */
 extern string dbSuccessors;
 
-/* dbNetSources :: Hash -> URL
-
-   Each pair (hash, url) in this mapping states that the value
-   identified by hash can be obtained by fetching the value pointed
-   to by url.
-
-   TODO: this should be Hash -> [URL]
-
-   TODO: factor this out into a separate tool? */
-extern string dbNetSources;
-
 
 /* Path names. */