[notmuch] [PATCH] Permit opening the notmuch database in read-only mode.

Carl Worth cworth at cworth.org
Sat Nov 21 13:26:07 PST 2009


On Sat, 21 Nov 2009 12:06:43 -0800, Keith Packard <keithp at keithp.com> wrote:
> On Sat, 21 Nov 2009 19:54:25 +0000, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> 
> > +typedef enum {
> > +    NOTMUCH_DATABASE_MODE_READONLY = 0,
> > +    NOTMUCH_DATABASE_MODE_WRITABLE
> > +} notmuch_database_mode_t;
> 
> Wondering if MODE_READWRITE would be more descriptive?

I went with READ_ONLY and READ_WRITE and pushed this.

Thanks, Chris! It's a nice feature.

-Carl


More information about the notmuch mailing list