View on
MetaCPAN
Philippe Bruhat (BooK) > Git-Database-0.007 > Git::Database::Object::Raw

Download:
Git-Database-0.007.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.007   Source   Latest Release: Git-Database-0.010

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.

syntax highlighting: