Git::Database::Backend::None - A minimal backend for Git::Database
use Git::Database; use Git::Database::Backend::None; my $backend = Git::Database::Backend::None->new(); # the empty tree my $tree = Git::Database::Object::Tree->new( content => '' ); # 4b825dc642cb6eb9a060e54bf8d69288fbee4904 my $digest = $backend->hash_object( $tree );
Git::Database::Backend::None is the minimal backend class for Git::Database.
It can't read or write from a store, because it doesn't have one.
This backend does the following roles (check their documentation for a list of supported methods): Git::Database::Role::Backend.
Philippe Bruhat (BooK) <email@example.com>
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.