function Archive_Tar::_isArchive
Parameters
string $p_filename:
Return value
bool
4 calls to Archive_Tar::_isArchive()
- Archive_Tar::addModify in vendor/
pear/ archive_tar/ Archive/ Tar.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…
- Archive_Tar::addString in vendor/
pear/ archive_tar/ Archive/ Tar.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.
- Archive_Tar::_addFile in vendor/
pear/ archive_tar/ Archive/ Tar.php - Archive_Tar::_extractList in vendor/
pear/ archive_tar/ Archive/ Tar.php
File
-
vendor/
pear/ archive_tar/ Archive/ Tar.php, line 759
Class
- Archive_Tar
- Creates a (compressed) Tar archive
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);
}