Initialize module and dependencies

This commit is contained in:
dwrz
2026-01-04 20:57:40 +00:00
commit a3b390c008
514 changed files with 310495 additions and 0 deletions

31
vendor/github.com/emersion/go-imap/v2/select.go generated vendored Normal file
View File

@@ -0,0 +1,31 @@
package imap
// SelectOptions contains options for the SELECT or EXAMINE command.
type SelectOptions struct {
ReadOnly bool
CondStore bool // requires CONDSTORE
}
// SelectData is the data returned by a SELECT command.
//
// In the old RFC 2060, PermanentFlags, UIDNext and UIDValidity are optional.
type SelectData struct {
// Flags defined for this mailbox
Flags []Flag
// Flags that the client can change permanently
PermanentFlags []Flag
// Number of messages in this mailbox (aka. "EXISTS")
NumMessages uint32
// Sequence number of the first unseen message. Obsolete, IMAP4rev1 only.
// Server-only, not supported in imapclient.
FirstUnseenSeqNum uint32
// Number of recent messages in this mailbox. Obsolete, IMAP4rev1 only.
// Server-only, not supported in imapclient.
NumRecent uint32
UIDNext UID
UIDValidity uint32
List *ListData // requires IMAP4rev2
HighestModSeq uint64 // requires CONDSTORE
}