Net::GitHub::V2::Object(3pm)

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)

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

Author

Fayland Lam, "<fayland at gmail.com>"

From libnet-github-perl 0.46-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.