database: Store directory path in 'data' of directory documents.
authorCarl Worth <cworth@cworth.org>
Sun, 20 Dec 2009 23:46:41 +0000 (15:46 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 18:32:05 +0000 (10:32 -0800)
commit4c1cca888fc89cd5c072a2df609d6d6d47acdfaf
tree94e062fcbf60a7366754fb5bf3d6c1caf23b8650
parent406ec4b15d65f1104c7ff3ee654a5e9cd5b39f29
database: Store directory path in 'data' of directory documents.

We're planning to have mail documents refer to directory documents for
the path of the containing directory. To support this, we need the
path in the data, (since the path in the 'directory' term can be
irretrievable as it will be the SHA1 sum of the path for a very long
path).
lib/database.cc