Git::Repository::FileHistory - Class representing file on git repository
# load the File plugin use Git::Repository 'FileHistory'; my $repo = Git::Repository->new; my $file = $repo->file_history('somefile'); print $file->created_at; print $file->created_by; print $file->last_modified_at; print $file->last_modified_by;
Git::Repository::FileHistory is class representing file on git repository.
Create a new Git::Repository::FileHistory instance, using the file name on git repository as parameter.
Git::Repository::FileHistory
The following accessors methods are recognized.
Return epoch.
Return author name.
Return array of Git::Repository::Log objects
Masayuki Matsuki <y.songmu@gmail.com>
BooK gives me many advice. Thanks a lot.
Git::Repository Git::Repository::Log
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Git::Repository::FileHistory, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::Repository::FileHistory
CPAN shell
perl -MCPAN -e shell install Git::Repository::FileHistory
For more information on module installation, please visit the detailed CPAN module installation guide.