* Get rid of the `netsources' database.

* Rename the `refs' database to `hash2paths'.
This commit is contained in:
Eelco Dolstra 2003-07-08 08:35:06 +00:00
parent be96c2189c
commit a5a90f501e
3 changed files with 10 additions and 23 deletions

View file

@ -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. */