Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
:param path: A directory in which we should create the database.
:type path: str
:param path: A directory in which we should create the database.
:type path: str
:raises: :exc:`NotmuchError` in case of any failure
(possibly after printing an error message on stderr).
"""
: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`
:param status: Open the database in read-only or read-write mode
:type status: :attr:`MODE`
:raises: Raises :exc:`NotmuchError` in case of any failure
(possibly after printing an error message on stderr).
"""
: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
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
:raises: :exc:`NotmuchError`:
:attr:`STATUS`.NOT_INITIALIZED
*Message.FLAG.MATCH*
:param value: A bool indicating whether to set or unset the flag.
*Message.FLAG.MATCH*
:param value: A bool indicating whether to set or unset the flag.
:raises: :exc:`NotInitializedError` if the message
is not initialized.
"""
:raises: :exc:`NotInitializedError` if the message
is not initialized.
"""
:type db: :class:`Database`
:param querystr: The query string
:type querystr: utf-8 encoded str or unicode
:type db: :class:`Database`
:param querystr: The query string
:type querystr: utf-8 encoded str or unicode
:raises:
:exc:`NullPointerError` if the query creation failed
(e.g. too little memory).
:raises:
:exc:`NullPointerError` if the query creation failed
(e.g. too little memory).