]> git.notmuchmail.org Git - notmuch/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>
Wed, 6 Jan 2010 18:32:05 +0000 (10:32 -0800)
commit84742d86ab2fd3e5b5b601f073351454b993575e
tree591bcc847d515878547c498fcdda5981882f79d8
parent4c1cca888fc89cd5c072a2df609d6d6d47acdfaf
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