Git::Repository::Status - Class representing git status data
version 0.01
# load the Status plugin use Git::Repository 'Status'; # get the status of all files my @status = Git::Repository->status('--ignored'); # print all ignored files for (@status) { say $_->path if $_->ignored; }
Instances of Git::Repository::Status represent a path in a git working tree with its status. The constructor should not be called directly but by calling the status method of Git::Repository, provided by Git::Repository::Plugin::Status.
status
Returns the status code of the path in the index, or the status code of side 1 in a merge conflict.
Returns the status code of the path in the work tree, or the status code of side 2 in a merge conflict.
Returns the path of the status.
Returns the path that path1 was copied or renamed to.
Returns true if the path is being ignored.
Returns true if the path is being tracked.
https://www.kernel.org/pub/software/scm/git/docs/git-status.html
Jakob Voß
This software is copyright (c) 2013 by Jakob Voß.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Git::Repository::Plugin::Status, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::Repository::Plugin::Status
CPAN shell
perl -MCPAN -e shell install Git::Repository::Plugin::Status
For more information on module installation, please visit the detailed CPAN module installation guide.