diff options
Diffstat (limited to '')
-rw-r--r-- | internal/imap/folder.go | 4 |
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 } |