NAME
Git::Database::Backend::None - A minimal backend for Git::Database
VERSION
version 0.012
SYNOPSIS
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 );
DESCRIPTION
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.
Git Database Roles
This backend does the following roles (check their documentation for a list of supported methods): Git::Database::Role::Backend.
Since it's not connected to a store, this class can't delegate the digest computation to Git itself. It therefore uses the default implementation provided by Git::Database::Role::Backend.
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.