Documentation ¶
Overview ¶
Copyright © 2020 Elias Norberg Licensed under the GPLv3 or later. See COPYING at the root of the repository for details.
Copyright © 2020 Elias Norberg Licensed under the GPLv3 or later. See COPYING at the root of the repository for details.
Copyright © 2020 Elias Norberg Licensed under the GPLv3 or later. See COPYING at the root of the repository for details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is responsible for reading from mailboxes and updating the notmuch index Note that a single handler can only read from one mailbox
func (*Handler) AddMessage ¶
AddMessage uploads a message to the IMAP server, and places it in the specific folder
func (*Handler) CheckMessages ¶
CheckMessages checks for new/unindexed messages on the server If 'fullScan' is set to true, we will iterate through all messages, and check for any updated flags that doesn't match our current set
type IndexUpdate ¶
type IndexUpdate struct { Path string // Path to file to be updated MessageID string // MessageID to be updated Tags []string // Tags to add/remove from message (entries prefixed with "-" will be removed) }
IndexUpdate is used to signal that a message should be tagged with specific information