]> git.notmuchmail.org Git - notmuch/blobdiff - contrib/go/src/notmuch/notmuch.go
database: add n_d_index_file (deprecates n_d_add_message)
[notmuch] / contrib / go / src / notmuch / notmuch.go
index 2d6843112ae0ba5cec49ae068cdb4070442f35a6..89093b2da34dab037e4ccba6f4f7f767fe8564d3 100644 (file)
@@ -170,7 +170,7 @@ func (self *Database) GetVersion() uint {
 /* Does this database need to be upgraded before writing to it?
  *
  * If this function returns TRUE then no functions that modify the
- * database (notmuch_database_add_message, notmuch_message_add_tag,
+ * database (notmuch_database_index_file, notmuch_message_add_tag,
  * notmuch_directory_set_mtime, etc.) will work unless the function
  * notmuch_database_upgrade is called successfully first. */
 func (self *Database) NeedsUpgrade() bool {