maildir

package
v0.0.0-...-5584dbf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImapFlagFromMaildir

func ImapFlagFromMaildir(maildir Flag) string

func NotmuchFlagFromImap

func NotmuchFlagFromImap(invert bool, imapFlag string) string

Types

type Flag

type Flag rune
const (
	FlagPassed  Flag = 'P'
	FlagReplied Flag = 'R'
	FlagSeen    Flag = 'S'
	FlagTrashed Flag = 'T'
	FlagDraft   Flag = 'D'
	FlagFlagged Flag = 'F'
)

Reference https://cr.yp.to/proto/maildir.html

func FlagFromFilename

func FlagFromFilename(filename string) []Flag

func MaildirFlagFromImap

func MaildirFlagFromImap(imapFlag string) Flag

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL