]> git.cworth.org Git - obsolete/notmuch-old/commit
database: Split _find_parent_id into _split_path and _find_directory_id
authorCarl Worth <cworth@cworth.org>
Mon, 21 Dec 2009 16:14:52 +0000 (08:14 -0800)
committerCarl Worth <cworth@cworth.org>
Mon, 21 Dec 2009 16:18:36 +0000 (08:18 -0800)
commit156c40e865bc00f61d3ec72dec769b07ebbf732f
treec06f2327976f1afe658049af1037211735929470
parent4d108493e76e67adbfffbe2a1f2b227c53f3177c
database: Split _find_parent_id into _split_path and _find_directory_id

Some pending commits want the _split_path functionality separate from
mapping a directory to a document ID. The split_path function now
returns the basename as well as the directory name.
lib/database.cc
lib/notmuch-private.h