The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Git::Repository::Plugin::File - Add a file() method to Git::Repository

VERSION

version 0.003

SYNOPSIS

    use Git::Repository qw(File);

    my $repo = Git::Repository->new();
    my $file = $repo->file('lib', 'Git', 'Repository', 'Plugin', 'File.pm');

DESCRIPTION

Adds a file method to the Git::Repository object that returns a Git::Repository::File object.

METHODS

Git::Repository::Plugin::File adds the following method:

file(<dir1>, <dir2>, ..., <file>)

Returns a Git::Repository::File object which behavies like a Path::Class::File with a few additional methods;

SEE ALSO

Git::Repository, Git::Repository::File, Path::Class::File

AUTHOR

Nathaniel G. Nutter <nnutter@cpan.org>

COPYRIGHT

Copyright 2013 - Nathaniel G. Nutter

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.