public function Archive_Tar::setIgnoreRegexp in Drupal 7
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;
}