aboutsummaryrefslogtreecommitdiff
path: root/internal/imap/folder.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/imap/folder.go')
-rw-r--r--internal/imap/folder.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/imap/folder.go b/internal/imap/folder.go
index 9386293..32bfefe 100644
--- a/internal/imap/folder.go
+++ b/internal/imap/folder.go
@@ -7,6 +7,10 @@ type Folder struct {
delimiter string
}
+func (f Folder) IsBlank() bool {
+ return f.str == ""
+}
+
func (f Folder) String() string {
return f.str
}