public function ArchiveTar::_isArchive in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Archiver/ArchiveTar.php \Drupal\Core\Archiver\ArchiveTar::_isArchive()
Parameters
string $p_filename:
Return value
bool
4 calls to ArchiveTar::_isArchive()
- ArchiveTar::addModify in core/
lib/ Drupal/ Core/ Archiver/ ArchiveTar.php - This method add the files / directories listed in $p_filelist at the end of the existing archive. If the archive does not yet exists it is created. The $p_filelist parameter can be an array of string, each string representing a filename or a directory…
- ArchiveTar::addString in core/
lib/ Drupal/ Core/ Archiver/ ArchiveTar.php - This method add a single string as a file at the end of the existing archive. If the archive does not yet exists it is created.
- ArchiveTar::_addFile in core/
lib/ Drupal/ Core/ Archiver/ ArchiveTar.php - ArchiveTar::_extractList in core/
lib/ Drupal/ Core/ Archiver/ ArchiveTar.php
File
- core/
lib/ Drupal/ Core/ Archiver/ ArchiveTar.php, line 800
Class
Namespace
Drupal\Core\ArchiverCode
public function _isArchive($p_filename = null) {
if ($p_filename == null) {
$p_filename = $this->_tarname;
}
clearstatcache();
return @is_file($p_filename) && !@is_link($p_filename);
}