diff options
author | Austin Clements <amdragon@MIT.EDU> | 2012-05-18 00:13:34 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-05-23 22:30:20 -0300 |
commit | f69314fbd37f403a395b7c1c44595c8f696b05b7 (patch) | |
tree | 1d533e466d14fd0c886fff2622e3ffd4895f2a4e /mime-node.c | |
parent | 70ca3444c75beaa693fcac411dd6a2819bd4341e (diff) |
lib: Make directory document creation optional for _notmuch_directory_create
Previously this function would create directory documents if they
didn't exist. As a result, it could only be used on writable
databases. This adds an argument to make creation optional and to
make this function work on read-only databases. We use a flag
argument to avoid a bare boolean and to permit future expansion.
Both callers have been updated, but currently retain the old behavior.
We'll take advantage of the new argument in the following patches.
Diffstat (limited to 'mime-node.c')
0 files changed, 0 insertions, 0 deletions