about summary refs log tree commit homepage
path: root/lib/PublicInbox/Repo.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-02-10 21:23:01 +0000
committerEric Wong <e@80x24.org>2017-02-10 21:23:01 +0000
commitad679cb6bedd72bb70df47dbedac5a8d785ecc2b (patch)
tree1d6a30b0137321793ca5a101ea4256f6d9cffec4 /lib/PublicInbox/Repo.pm
parent2be17f6aaa30fe927a410eed2bcca6717cf6f766 (diff)
downloadpublic-inbox-ad679cb6bedd72bb70df47dbedac5a8d785ecc2b.tar.gz
This should hopefully allow us to organize our code better
Diffstat (limited to 'lib/PublicInbox/Repo.pm')
-rw-r--r--lib/PublicInbox/Repo.pm15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/PublicInbox/Repo.pm b/lib/PublicInbox/Repo.pm
new file mode 100644
index 00000000..812b1071
--- /dev/null
+++ b/lib/PublicInbox/Repo.pm
@@ -0,0 +1,15 @@
+# Copyright (C) 2017 all contributors <meta@public-inbox.org>
+# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
+#
+# Represents a code repository, analoguos to the PublicInbox::Inbox
+# class for represpenting an inbox git repository.
+package PublicInbox::Repo;
+use strict;
+use warnings;
+
+sub new {
+        my ($class, $opts) = @_;
+        bless $opts, $class;
+}
+
+1;