1 system.tar.inc public Archive_Tar::_isArchive($p_filename = null)

Parameters

string $p_filename:

Return value

bool:

File

core/modules/system/system.tar.inc, line 824

Class

Archive_Tar

Code

public function _isArchive($p_filename = null) 
 {
  if ($p_filename == null) {
    $p_filename = $this->_tarname;
  }
  clearstatcache();
  return @is_file($p_filename) && !@is_link($p_filename);
}