NAME

Git::Database::Backend::Git::Raw::Repository - A Git::Database backend based on Git::Raw

VERSION

version 0.012

SYNOPSIS

# get a store
my $r  = Git::Raw::Repository->open('path/to/some/git/repository');

# let Git::Database produce the backend
my $db = Git::Database->new( store => $r );

DESCRIPTION

This backend reads data from a Git repository using the Git::Raw bindings to the libgit2 library.

Git Database Roles

This backend does the following roles (check their documentation for a list of supported methods): Git::Database::Role::Backend, Git::Database::Role::ObjectReader, Git::Database::Role::ObjectWriter, Git::Database::Role::RefReader, Git::Database::Role::RefWriter.

CAVEAT

This backend requires Git::Raw version 0.74 or greater.

AUTHORS

Sergey Romanov <sromanov@cpan.org> provided the initial version of the module, with support for the Git::Database::Role::RefReader and Git::Database::Role::RefWriter roles.

Philippe Bruhat (BooK) <book@cpan.org> implemented the Git::Database::Role::ObjectReader and Git::Database::Role::ObjectWriter roles.

Jacques Germishuys <jacquesg@cpan.org> added the features needed for the above roles to Git::Raw.

COPYRIGHT

Copyright 2017 Philippe Bruhat (BooK), all rights reserved.

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.