]> Sergey Matveev's repositories - public-inbox.git/commit
cgit: type declaration for PublicInbox::Git
authorEric Wong <e@80x24.org>
Tue, 31 Dec 2019 10:30:13 +0000 (10:30 +0000)
committerEric Wong <e@80x24.org>
Wed, 1 Jan 2020 07:51:04 +0000 (07:51 +0000)
commit0a3ead80bc685fcabed9f7dfaae35c74b72cd830
tree18dd5969d75873dfac4465564c8aa36f5e6395db
parenta7d4f457ec2b4531b3aaeb6cef1383bbda5b431a
cgit: type declaration for PublicInbox::Git

AFAIK this doesn't do anything for Perl internally since
PublicInbox::Git doesn't "use fields", but it makes it easier for
humans readers to follow and ensure we're not passing unblessed
or non-ref scalars to PublicInbox::GitHTTPBackend::serve.
lib/PublicInbox/Cgit.pm