Net::GitHub::V2::Object - Git Object API
use Net::GitHub::V2::Object; my $obj = Net::GitHub::V2::Object->new( owner => 'fayland', repo => 'perl-net-github' );
my $tree = $obj->tree( $tree_sha1 );
get the contents of a tree by tree sha
my $blob = $obj->blob( $tree_sha1, 'lib/Net/GitHub.pm' );
get the data about a blob by tree sha and path
my $raw = $obj->raw( $sha1 );
get the contents of a blob (can be tree, file or commits)
<fayland at gmail.com>
Copyright 2009 Fayland Lam, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.