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

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

Date: Sat, 21 Nov 2009 22:26:07 +0100

To: Keith Packard, Chris Wilson, notmuch@notmuchmail.org

Cc:

From: Carl Worth


On Sat, 21 Nov 2009 12:06:43 -0800, Keith Packard <keithp@keithp.com> wrote:
> On Sat, 21 Nov 2009 19:54:25 +0000, Chris Wilson <chris@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

Thread: