Git::Database::Role::PurePerlBackend - Code shared by the Cogit and Git::PurePerl backends
version 0.009
package MyPurePerlBackend; use Moo; use namespace::clean; with 'Git::Database::Role::PurePerlBackend'; # implement the required methods sub _store_packs { ... } 1;
This role contains the code shared by the Git::PurePerl and Cogit backends.
Both backends share the same API, except for one tiny difference: one returns its packs as a list, and the other as an array reference.
This role hides the difference behind a simple interface.
Philippe Bruhat (BooK) <book@cpan.org>
Copyright 2016 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.