]> git.cworth.org Git - obsolete/notmuch-old/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>
Sat, 19 Dec 2009 22:20:49 +0000 (14:20 -0800)
commit0a213490dd7d3418cb061230fedb9b368554a1cc
treef5ce039691a5e2bd520a97302e65095ce4616e25
parent782e21992f187743a59890e96b69a5087ae9fbc4
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