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