Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/songmu/git-repository-filehistory
https://github.com/songmu/git-repository-filehistory
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/songmu/git-repository-filehistory
- Owner: Songmu
- License: other
- Created: 2011-05-09T07:39:48.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2016-04-10T04:43:17.000Z (over 8 years ago)
- Last Synced: 2024-10-11T21:09:23.921Z (27 days ago)
- Language: Perl
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
# NAME
Git::Repository::FileHistory - Class representing file on git repository
# SYNOPSIS
# 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;# DESCRIPTION
Git::Repository::FileHistory is class representing file on git repository.
# CONSTRUCTOR
## new( $file\_name )
Create a new `Git::Repository::FileHistory` instance, using the file name
on git repository as parameter.## ACCESORS
The following accessors methods are recognized.
- created\_at
Return epoch.
- last\_modified\_at
Return epoch.
- created\_by
Return author name.
- last\_modified\_by
Return author name.
- logs
Return array of Git::Repository::Log objects
# AUTHOR
Masayuki Matsuki
BooK gives me many advice. Thanks a lot.
# SEE ALSO
[Git::Repository](https://metacpan.org/pod/Git::Repository)
[Git::Repository::Log](https://metacpan.org/pod/Git::Repository::Log)# LICENSE
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.