diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-08T08·35+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-08T08·35+0000 |
commit | a5a90f501e471383a8dfccfe8af3c804cefa77cf (patch) | |
tree | 1171060204c0089a80aa3d0a43f541c01856a85d /src/globals.hh | |
parent | be96c2189ca017612277ab6301164a5e2facfca5 (diff) |
* Get rid of the `netsources' database.
* Rename the `refs' database to `hash2paths'.
Diffstat (limited to 'src/globals.hh')
-rw-r--r-- | src/globals.hh | 19 |
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. */ |