Dist::Zilla::Role::SVK::DirtyFiles - provide the allow_dirty & changelog attributes
This role is used within the svk (was: git) plugin to work with files that are dirty in the local svk checkout.
A list of files that are allowed to be dirty in the svk checkout. Defaults to dist.ini and the changelog (as defined per the changelog attribute.
The name of the changelog. Defaults to Changes.
my @dirty = $plugin->list_dirty_files($listAllowed);
This returns a list of the modified or deleted files in the checkout, filtered against the allow_dirty attribute, excluding dot files. If $listAllowed is true, only allowed files are listed. If it's false, only files that are not allowed to be dirty are listed.
In scalar context, returns the number of dirty files.
Dr Bean <drbean at (a) cpan dot (.) org>
This software is copyright (c) 2010 by Dr Bean.
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 Dist::Zilla::Plugin::SVK, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.