You are here

function Archive_Tar::_isArchive in Acquia Connector 6.2

4 calls to Archive_Tar::_isArchive()
Archive_Tar::addModify in acquia_agent/archive_tar.inc
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…
Archive_Tar::addString in acquia_agent/archive_tar.inc
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.
Archive_Tar::_addFile in acquia_agent/archive_tar.inc
Archive_Tar::_extractList in acquia_agent/archive_tar.inc

File

acquia_agent/archive_tar.inc, line 649

Class

Archive_Tar
Creates a (compressed) Tar archive

Code

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