:param path: A directory in which we should create the database.
:type path: str
- :returns: Nothing
:raises: :exc:`NotmuchError` in case of any failure
(possibly after printing an error message on stderr).
"""
:param status: Open the database in read-only or read-write mode
:type status: :attr:`MODE`
- :returns: Nothing
:raises: Raises :exc:`NotmuchError` in case of any failure
(possibly after printing an error message on stderr).
"""
Retrieves a previously stored mtime for this directory.
:param mtime: A (time_t) timestamp
- :returns: Nothing on success, raising an exception on failure.
:raises: :exc:`NotmuchError`:
:attr:`STATUS`.NOT_INITIALIZED
:type db: :class:`Database`
:param querystr: The query string
:type querystr: utf-8 encoded str or unicode
- :returns: Nothing
:raises:
:exc:`NullPointerError` if the query creation failed
(e.g. too little memory).