aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/models.go16
1 files changed, 7 insertions, 9 deletions
diff --git a/models/models.go b/models/models.go
index 5caeb4d3..a47ac24b 100644
--- a/models/models.go
+++ b/models/models.go
@@ -38,24 +38,22 @@ func (f Flags) Has(flags Flags) bool {
type Directory struct {
Name string
+ // Exists messages in the Directory
+ Exists int
+ // Recent messages in the Directory
+ Recent int
+ // Unseen messages in the Directory
+ Unseen int
}
type DirectoryInfo struct {
- Name string
- Flags []string
- ReadOnly bool
-
+ Name string
// The total number of messages in this mailbox.
Exists int
-
// The number of messages not seen since the last time the mailbox was opened.
Recent int
-
// The number of unread messages
Unseen int
-
- // set to true if the value counts are accurate
- AccurateCounts bool
}
// Capabilities provides the backend capabilities