function Archive_Tar::setIgnoreRegexp
This method sets the regular expression for ignoring files and directories at import, for example: $arch->setIgnoreRegexp("#CVS|\.svn#");
Parameters
string $regexp regular expression defining which files or directories to ignore:
1 call to Archive_Tar::setIgnoreRegexp()
- Archive_Tar::setIgnoreList in vendor/
pear/ archive_tar/ Archive/ Tar.php - This method sets the regular expression for ignoring all files and directories matching the filenames in the array list at import, for example: $arch->setIgnoreList(array('CVS', '.svn', 'bin/tool'));
File
-
vendor/
pear/ archive_tar/ Archive/ Tar.php, line 718
Class
- Archive_Tar
- Creates a (compressed) Tar archive
Code
public function setIgnoreRegexp($regexp) {
$this->_ignore_regexp = $regexp;
}