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

NAME

Git::Repository::File - Objects representing files in a Git::Repository

VERSION

version 0.005

SYNOPSIS

    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");

DESCRIPTION

Git::Repository::File mostly wraps <Path::Class::File>.

METHODS

Git::Repository::File adds the following methods on to a Path::Class::File-like API:

add(@options)

Does something....

SEE ALSO

Git::Repository, Git::Repository::Plugin::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.