# Ignore all common version control systems $find->ignore_vcs; # Ignore a specific named version control systems $find->ignore_vcs($name); # Ignore nothing (silent pass-through) $find->ignore_vcs();
The ignore_vcs method excludes the files for a named Version Control System from your File::Find::Rule search.
If passed, the name of the version control system is case in-sensitive. Names currently supported are cvs, svn, subversion, bzr, and bazaar.
If no params at all are passed, this method will ignore all supported version control systems. If ignoring every version control system, please note that any legitimate directories called CVS or files starting with .# will be ignored, which is not always desirable.
In widely-distributed code, you instead should try to detect the specific version control system used and call ignore_vcs with the specific name.
Passing undef, or an unsupported name, will throw an exception.
The ignore_cvs method excluding all CVS directories from your File::Find::Rule search.
It will also exclude all the files left around by CVS after an automated merge that start with .# (dot-hash).
The ignore_rcs method excluding all RCS directories from your File::Find::Rule search.
It will also exclude all the files used by RCS to store the revisions (end with ,v).
The ignore_svn method excluding all Subversion (.svn) directories from your File::Find::Rule search.
The ignore_bzr method excluding all Bazaar (.bzr) directories from your File::Find::Rule search.
The ignore_git method excluding all Git (.git) directories from your File::Find::Rule search.
The ignore_hg method excluding all Mercurial/Hg (.hg) directories from your File::Find::Rule search.
Bugs should always be submitted via the CPAN bug tracker
For other issues, contact the maintainer
Adam Kennedy <firstname.lastname@example.org>
Copyright 2005 - 2010 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
|perl v5.20.3||FILE::FIND::RULE::VCS (3)||2010-10-06|