NAME
Git::Raw::Index - Git index class
VERSION
version 0.11
DESCRIPTION
A Git::Raw::Index
represents an index in a Git repository.
METHODS
add( $file )
Add the given file to the index.
append( $file )
Append the given file to the index even if duplicate.
clear( )
Clear completely the index.
read( )
Update the index reading it from disk.
uniq( )
Remove all duplicate entries (i.e. with the same path) except the last.
write( )
Write the index to disk.
write_tree( )
Create a new tree from the index and write it to disk.
AUTHOR
Alessandro Ghedini <alexbio@cpan.org>
LICENSE AND COPYRIGHT
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.