Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

PublicInbox::Git - git wrapper

Contact

       All feedback welcome via plain-text mail to <mailto:meta@public-inbox.org>

       The mail archives are hosted at <https://public-inbox.org/meta/>

Description

       Unstable API outside of the "new" method.  It requires git(1) to be installed.

Methods

new
               my $git = PublicInbox::Git->new($git_dir);

       Initialize a new PublicInbox::Git object for use with PublicInbox::Import This is the only public API
       method we support.  Everything else in this module is subject to change.

Name

       PublicInbox::Git - git wrapper

See Also

       Git, PublicInbox::Import

Synopsis

               use PublicInbox::Git;
               chomp(my $git_dir = `git rev-parse --git-dir`);
               $git_dir or die "GIT_DIR= must be specified\n";
               my $git = PublicInbox::Git->new($git_dir);

Version

       version 1.0

See Also