mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
Clarify documentation of notmuch_database_add_message.
For the case of adding a file that already exist, (with the same filename). In this case, nothing will happen to the database, but that wasn't clear before.
This commit is contained in:
parent
357b48d34b
commit
e002fe8a7a
1 changed files with 3 additions and 2 deletions
|
@ -247,8 +247,9 @@ notmuch_database_get_directory (notmuch_database_t *database,
|
||||||
* NOTMUCH_STATUS_SUCCESS: Message successfully added to database.
|
* NOTMUCH_STATUS_SUCCESS: Message successfully added to database.
|
||||||
*
|
*
|
||||||
* NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID: Message has the same message
|
* NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID: Message has the same message
|
||||||
* ID as another message already in the database. The new filename
|
* ID as another message already in the database. The new
|
||||||
* was successfully added to the message in the database.
|
* filename was successfully added to the message in the database
|
||||||
|
* (if not already present).
|
||||||
*
|
*
|
||||||
* NOTMUCH_STATUS_FILE_ERROR: an error occurred trying to open the
|
* NOTMUCH_STATUS_FILE_ERROR: an error occurred trying to open the
|
||||||
* file, (such as permission denied, or file not found,
|
* file, (such as permission denied, or file not found,
|
||||||
|
|
Loading…
Reference in a new issue