Net::GitHub::V3::GitData man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Net::GitHub::V3::GitDaUser)Contributed Perl DocumenNet::GitHub::V3::GitData(3)

NAME
       Net::GitHub::V3::GitData - GitHub Git DB API

SYNOPSIS
	   use Net::GitHub::V3;

	   my $gh = Net::GitHub::V3->new; # read L<Net::GitHub::V3> to set right authentication info
	   my $git_data = $gh->git_data;

DESCRIPTION
       To ease the keyboard, we provied two ways to call any method which
       starts with :user/:repo

       1. SET user/repos before call methods below

	   $gh->set_default_user_repo('fayland', 'perl-net-github'); # take effects for all $gh->
	   $git_data->set_default_user_repo('fayland', 'perl-net-github'); # only take effect to $gh->pull_request
	   my $blob = $git_data->blob($sha);

       2. If it is just for once, we can pass :user, :repo before any
       arguments

	   my $blob = $git_data->blob($user, $repo, $sha);

   METHODS
       Git Data

       <http://developer.github.com/v3/git/>

       Blob

       blob
	       my $blob = $git_data->blob('5a1faac3ad54da26be60970ddbbdfbf6b08fdc57');

       create_blob
	       my $result = $git_data->create_blob( {
		   content => $content,
		   encoding => 'utf-8',
	       } );

       Commits

       <http://developer.github.com/v3/git/commits/>

       commit
	       my $commit = $git_data->commit('5a1faac3ad54da26be60970ddbbdfbf6b08fdc57');

       create_commit

       Refs

       <http://developer.github.com/v3/git/refs/>

       refs
       ref
       create_ref
       update_ref
	       my @refs = $git_data->refs;
	       my $ref	= $git_data->ref($ref_id);
	       my $ref	= $git_data->create_ref($ref_data);
	       my $ref	= $git_data->update_ref($ref_id, $ref_data);

       Tags

       <http://developer.github.com/v3/git/tags/>

       tag
       create_tag
	       my $tag = $git_data->tag($sha);
	       my $tag = $git_data->create_tag($tag_data);

       <http://developer.github.com/v3/git/trees/>

       tree
       trees
       create_tree
	       my $tree = $git_data->tree($sha);
	       my $trees = $git_data->trees($sha);
	       my $tree = $git_data->create_tree($tree_data);

AUTHOR & COPYRIGHT & LICENSE
       Refer Net::GitHub

perl v5.14.2			  2012-03-31	   Net::GitHub::V3::GitData(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net