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 modules/
system/ system.tar.inc - 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
-
modules/
system/ system.tar.inc, line 779
Class
Code
public function setIgnoreRegexp($regexp) {
$this->_ignore_regexp = $regexp;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.