/* Remove all tags from the given message. * * See notmuch_message_freeze for an example showing how to safely * replace tag values. * * NOTMUCH_STATUS_READ_ONLY_DATABASE: Database was opened in read-only * mode so message cannot be modified. */ func (self *Message) RemoveAllTags() Status { if self.message == nil { return STATUS_NULL_POINTER } return Status(C.notmuch_message_remove_all_tags(self.message)) }
// RemoveAllTags removes all tags from the message. func (m *Message) RemoveAllTags() error { return statusErr(C.notmuch_message_remove_all_tags(m.toC())) }