GitHunt
JA

jacquesg/p5-Git-Raw

Perl bindings to the Git linkable library (libgit2)

package Git::Raw;

use strict;
use warnings;

require XSLoader;
XSLoader::load('Git::Raw', $Git::Raw::VERSION);

use Git::Raw::Error;
use Git::Raw::Error::Category;
use Git::Raw::AnnotatedCommit;
use Git::Raw::Packbuilder;
use Git::Raw::Blob;
use Git::Raw::Commit;
use Git::Raw::Index;
use Git::Raw::Indexer;
use Git::Raw::Object;
use Git::Raw::Odb;
use Git::Raw::Odb::Object;
use Git::Raw::Mempack;
use Git::Raw::Rebase;
use Git::Raw::RefSpec;
use Git::Raw::Reference;
use Git::Raw::Repository;
use Git::Raw::Stash;
use Git::Raw::Stash::Progress;
use Git::Raw::Submodule;
use Git::Raw::Tree;
use Git::Raw::TransferProgress;
use Git::Raw::Worktree;

1;

END

=for HTML

Build Status: Azure Pipeline


Build Status: AppVeyor


coveralls

=cut

=head1 NAME

Git::Raw - Perl bindings to the Git linkable library (libgit2)

=head1 DESCRIPTION

L<libgit2|http://libgit2.github.com> is a pure C implementation of the Git core
methods provided as a re-entrant linkable library designed to be fast and
portable with a solid API. This module provides Perl bindings to the libgit2
API.

B: The API of this module is unstable and may change without warning
(any change will be appropriately documented in the changelog).

=head1 METHODS

=head2 features( )

List of (optional) compiled in features. Git::Raw may be built with support
for threads, HTTPS and SSH.

=head2 message_prettify( $msg, [$strip_comments, $comment_char] )

Clean up C<$msg> from excess whitespace and ensure that the last line ends with
a newline. The default is to strip all comments, starting with a C<#>, unless
otherwise specified.

=head1 DOCUMENTATION

=head2 LGit::Raw::AnnotatedCommit

=head2 LGit::Raw::Blame

=head2 LGit::Raw::Blame::Hunk

=head2 LGit::Raw::Blob

=head2 LGit::Raw::Branch

=head2 LGit::Raw::Cert

=head2 LGit::Raw::Cert::HostKey

=head2 LGit::Raw::Cert::X509

=head2 LGit::Raw::Commit

=head2 LGit::Raw::Config

=head2 LGit::Raw::Cred

=head2 LGit::Raw::Diff

=head2 LGit::Raw::Diff::Delta

=head2 LGit::Raw::Diff::File

=head2 LGit::Raw::Diff::Hunk

=head2 LGit::Raw::Diff::Stats

=head2 LGit::Raw::Error

=head2 LGit::Raw::Error::Category

=head2 LGit::Raw::Filter

=head2 LGit::Raw::Filter::List

=head2 LGit::Raw::Filter::Source

=head2 LGit::Raw::Graph

=head2 LGit::Raw::Index

=head2 LGit::Raw::Index::Conflict

=head2 LGit::Raw::Index::Entry

=head2 LGit::Raw::Indexer

=head2 LGit::Raw::Mempack

=head2 LGit::Raw::Merge::File::Result

=head2 LGit::Raw::Note

=head2 LGit::Raw::Object

=head2 LGit::Raw::Odb

=head2 LGit::Raw::Odb::Backend

=head2 LGit::Raw::Odb::Backend::Loose

=head2 LGit::Raw::Odb::Backend::OnePack

=head2 LGit::Raw::Odb::Backend::Pack

=head2 LGit::Raw::Odb::Object

=head2 LGit::Raw::Packbuilder

=head2 LGit::Raw::Patch

=head2 LGit::Raw::PathSpec

=head2 LGit::Raw::PathSpec::MatchList

=head2 LGit::Raw::Rebase

=head2 LGit::Raw::Rebase::Operation

=head2 LGit::Raw::RefSpec

=head2 LGit::Raw::Reference

=head2 LGit::Raw::Reflog

=head2 LGit::Raw::Reflog::Entry

=head2 LGit::Raw::Remote

=head2 LGit::Raw::Repository

=head2 LGit::Raw::Signature

=head2 LGit::Raw::Submodule

=head2 LGit::Raw::Stash

=head2 LGit::Raw::Stash::Progress

=head2 LGit::Raw::Tag

=head2 LGit::Raw::TransferProgress

=head2 LGit::Raw::Tree

=head2 LGit::Raw::Tree::Builder

=head2 LGit::Raw::Tree::Entry

=head2 LGit::Raw::Walker

=head2 LGit::Raw::Worktree

=head1 AUTHOR

Alessandro Ghedini alexbio@cpan.org

Jacques Germishuys jacquesg@cpan.org

=head1 LICENSE AND COPYRIGHT

Copyright 2012 Alessandro Ghedini.

This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

Languages

Perl58.4%XS40.6%C1.0%
Created August 5, 2012
Updated October 9, 2025