NAME
Net::GitHub::V2::Object - Git Object API
SYNOPSIS
use Net::GitHub::V2::Object;
my $obj = Net::GitHub::V2::Object->new(
owner => 'fayland', repo => 'perl-net-github'
);
DESCRIPTION
http://develop.github.com/p/object.html
METHODS
- tree
-
my $tree = $obj->tree( $tree_sha1 );
get the contents of a tree by tree sha
- blob
-
my $blob = $obj->blob( $tree_sha1, 'lib/Net/GitHub.pm' );
get the data about a blob by tree sha and path
- raw
-
my $raw = $obj->raw( $sha1 );
get the contents of a blob (can be tree, file or commits)
AUTHOR
Fayland Lam, <fayland at gmail.com>
COPYRIGHT & LICENSE
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.