diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2021-10-17 17:04:06 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2021-10-18 18:36:04 +0200 |
commit | 5c29e49f9f422c8889ce2ed6b5b5a2914b55cace (patch) | |
tree | 20b2d8725fa0bc763d32b6f59d796143a453548e /internal/imap/folder.go | |
parent | 44ff3d08a0e1f3b49e07795a9fdb0ad3af4c7540 (diff) | |
download | feed2imap-go-5c29e49f9f422c8889ce2ed6b5b5a2914b55cace.tar.gz feed2imap-go-5c29e49f9f422c8889ce2ed6b5b5a2914b55cace.tar.bz2 feed2imap-go-5c29e49f9f422c8889ce2ed6b5b5a2914b55cace.zip |
Support feed targets per feed
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 } |