]> git.notmuchmail.org Git - notmuch/commit
database: Store the parent ID for each directory document.
authorCarl Worth <cworth@cworth.org>
Sat, 19 Dec 2009 21:20:26 +0000 (13:20 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 18:32:05 +0000 (10:32 -0800)
commite890b0cf4011fd9fd77ebd87343379e4a778888b
tree958708dbc0454034ed4e3f897f43e64a666a6a83
parent851c97aed727d284872992dcf6b64bc2069c1d0e
database: Store the parent ID for each directory document.

Storing the document ID of the parent of each directory document will
allow us to find all child-directory documents for a given directory
document. We will need this in order to detect directories that have
been removed from the mail store, (though we aren't yet doing this).
lib/database.cc