[libcode-tidyall-perl] 349/374: remove process_all, add find_matched_files to docs
Jonas Smedegaard
js at alioth.debian.org
Sun Sep 29 22:26:49 UTC 2013
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libcode-tidyall-perl.
commit 2b5fc68985fbe34c2abb56acf4888de70635dbfe
Author: Jonathan Swartz <swartz at pobox.com>
Date: Mon Mar 11 05:33:15 2013 -0700
remove process_all, add find_matched_files to docs
---
lib/Code/TidyAll.pm | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/lib/Code/TidyAll.pm b/lib/Code/TidyAll.pm
index 9fd3e8d..c7e1ddd 100644
--- a/lib/Code/TidyAll.pm
+++ b/lib/Code/TidyAll.pm
@@ -452,7 +452,6 @@ sub _small_path {
sub _file_sig {
my ( $self, $file, $contents ) = @_;
my $last_mod = ( stat($file) )[9];
- $contents = read_file($file) if !defined($contents);
return $self->_sig( [ $self->base_sig, $last_mod, $contents ] );
}
@@ -514,10 +513,6 @@ Code::TidyAll - Engine for tidyall, your all-in-one code tidier and validator
$ct->process_paths($file1, $file2);
- # or
-
- $ct->process_all();
-
=head1 DESCRIPTION
This is the engine used by L<tidyall|tidyall> - read that first to get an
@@ -588,10 +583,6 @@ C<backup_ttl> here).
=over
-=item process_all
-
-Process all files; this implements the C<tidyall -a> option.
-
=item process_paths (path, ...)
Call L</process_file> on each file; descend recursively into each directory if
@@ -645,6 +636,10 @@ Class method. Start in the I<start_dir> and work upwards, looking for one of
the I<conf_names>. Return the pathname if found or throw an error if not
found.
+=item find_matched_files
+
+Returns a list of sorted files that match at least one plugin in configuration.
+
=back
=cut
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcode-tidyall-perl.git
More information about the Pkg-perl-cvs-commits
mailing list