NAME

Git::Database::Role::PurePerlBackend - Code shared by the Cogit and Git::PurePerl backends

VERSION

version 0.012

SYNOPSIS

package MyPurePerlBackend;

use Moo;
use namespace::clean;

with 'Git::Database::Role::PurePerlBackend';

# implement the required methods
sub _store_packs { ... }

1;

DESCRIPTION

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.

AUTHOR

Philippe Bruhat (BooK) <book@cpan.org>

COPYRIGHT

Copyright 2016 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.