The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Git::Database::Object::Raw - Raw Git::Database objects

VERSION

version 0.007

SYNOPSIS

    # $object is-a Git::Database::Object (Blob, Tree, Commit, Tag)
    my $raw  = Git::Database::Object::Raw->new( $object );

DESCRIPTION

This tiny class adds the "sha1" and "raw" methods to those offered by Git::Database::Role::Object. Git::Database::Object::Raw objects can be handed to Git::PurePerl::Loose or Cogit::Loose for saving in the Git object database.

METHODS

sha1

Alias for digest.

raw

Return the raw data, as used by Git::PurePerl::Loose and Cogit::Loose to save an object in the Git object database.

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.