Git::Raw::Tree - Git tree class
version 0.29
A Git::Raw::Tree represents a Git tree.
Git::Raw::Tree
WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog).
Retrieve the tree corresponding to C$id>. This function is pretty much the same as $repo->lookup($id) except that it only returns trees.
$repo->lookup($id)
Retrieve the id of the tree, as string.
Retrieve a list of Git::Raw::TreeEntry objects.
Retrieve a Git::Raw::TreeEntry object by name.
Retrieve a Git::Raw::TreeEntry object by path.
Compute the Git::Raw::Diff between two trees. If no $tree is passed, the diff will be computed against the working directory.
$tree
Returns true.
Returns false.
Alessandro Ghedini <alexbio@cpan.org>
Copyright 2012 Alessandro Ghedini.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Git::Raw, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::Raw
CPAN shell
perl -MCPAN -e shell install Git::Raw
For more information on module installation, please visit the detailed CPAN module installation guide.