Net::GitHub::V2::Object3pm
Git object api
Usage
use Net::GitHub::V2::Object;my $obj = Net::GitHub::V2::Object->new(owner => 'fayland', repo => 'perl-net-github');
Overview
<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)
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.
Releases
2 releases since Debian 6.0 (Squeeze); the text changed 1 time.