Git::Repository::File - Objects representing files in a Git::Repository
version 0.005
use Git::Repository qw(File); my $repo = Git::Repository->new(); my $file = $repo->file('lib', 'Git', 'Repository', 'File.pm'); # provides Path::Class::File API $file->openw->say('line one'); # also provides add, commit, and remove $file->add; $file->commit('-m', "commit $file"); $file->remove; $file->commit('-m', "removed $file");
Git::Repository::File mostly wraps <Path::Class::File>.
Git::Repository::File
Git::Repository::File adds the following methods on to a Path::Class::File-like API:
Does something....
Git::Repository, Git::Repository::Plugin::File, Path::Class::File
Nathaniel G. Nutter <nnutter@cpan.org>
Copyright 2013 - Nathaniel G. Nutter
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Git::Repository::Plugin::File, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::Repository::Plugin::File
CPAN shell
perl -MCPAN -e shell install Git::Repository::Plugin::File
For more information on module installation, please visit the detailed CPAN module installation guide.