PublicInbox::Git - git wrapper
Contents
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/>
Copyright
Copyright (C) 2016 all contributors <mailto:meta@public-inbox.org>
License: AGPL-3.0+ <http://www.gnu.org/licenses/agpl-3.0.txt>
perl v5.36.0 2022-11-07 PublicInbox::Git(3pm)
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
