]> git.notmuchmail.org Git - notmuch/commit
lib/open: create database path in some cases
authorDavid Bremner <david@tethera.net>
Fri, 29 Jul 2022 11:31:37 +0000 (08:31 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 3 Sep 2022 11:24:43 +0000 (08:24 -0300)
commit84e4e130e2c920b3dee91901582c4ab6276e2630
tree7323895279f5fac2760306cfa9d76b17d86cebf5
parent8ba3057d01b11fb806581f8dc451a8891a4d4e0e
lib/open: create database path in some cases

There is some duplication of code here, but not all of the locations
valid to find a database make sense to create. Furthermore we nead two
passes, so the control flow in _choose_database_path would get a bit
convoluted.
lib/open.cc
test/T055-path-config.sh
test/T560-lib-error.sh