Git::Repository::Plugin::File - Add a file() method to Git::Repository
version 0.003
use Git::Repository qw(File); my $repo = Git::Repository->new(); my $file = $repo->file('lib', 'Git', 'Repository', 'Plugin', 'File.pm');
Adds a file method to the Git::Repository object that returns a Git::Repository::File object.
file
Git::Repository::Plugin::File adds the following method:
Returns a Git::Repository::File object which behavies like a Path::Class::File with a few additional methods;
Git::Repository, Git::Repository::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.