diff options
Diffstat (limited to 'lib/PublicInbox/LeiWatch.pm')
-rw-r--r-- | lib/PublicInbox/LeiWatch.pm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiWatch.pm b/lib/PublicInbox/LeiWatch.pm new file mode 100644 index 00000000..35267b58 --- /dev/null +++ b/lib/PublicInbox/LeiWatch.pm @@ -0,0 +1,13 @@ +# Copyright all contributors <meta@public-inbox.org> +# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> + +# represents a Maildir or IMAP "watch" item +package PublicInbox::LeiWatch; +use strict; +use v5.10.1; +use parent qw(PublicInbox::IPC); + +# "url" may be something like "maildir:/path/to/dir" +sub new { bless { url => $_[1] }, $_[0] } + +1; |