Git::Database::Backend::Git::Raw::Repository - A Git::Database backend based on Git::Raw
version 0.012
# 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 );
This backend reads data from a Git repository using the Git::Raw bindings to the libgit2 library.
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.
This backend requires Git::Raw version 0.74 or greater.
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 2017 Philippe Bruhat (BooK), all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Git::Database, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::Database
CPAN shell
perl -MCPAN -e shell install Git::Database
For more information on module installation, please visit the detailed CPAN module installation guide.