]> git.notmuchmail.org Git - notmuch/commitdiff
add_files_recursive: Make the maildir detection more efficient.
authorCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 00:42:14 +0000 (16:42 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 18:32:06 +0000 (10:32 -0800)
Previously, we were re-scanning the entire list of entries for every
directory entry. Instead, we can simply check if the entries look like
a maildir once, up-front.


No differences found