Current Path: > > opt > cloudlinux > alt-php54 > root > usr > share > pear > ezc > Archive > tar
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
headers | Directory | - | - | |
gnu.php | File | 2573 bytes | December 18 2019 11:17:09. | |
pax.php | File | 2486 bytes | December 18 2019 11:17:09. | |
ustar.php | File | 2517 bytes | December 18 2019 11:17:09. | |
v7.php | File | 19522 bytes | December 18 2019 11:17:09. |
<?php /** * File containing the ezcArchivePaxTar class. * * @package Archive * @version 1.4.1 * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved. * @license http://ez.no/licenses/new_bsd New BSD License */ /** * The ezcArchivePaxTar class implements the Tar pax or posix archive format. * * ezcArchivePaxTar is a subclass from {@link ezcArchive} that provides the common interface, * and {@link ezcArchiveUstarTar} that provides the basic Tar implementation. * * ezcArchivePaxTar reads on creation only the first {@link ezcArchiveEntry entry} from the archive. * When needed next entries are read. * * The Pax Tar algorithm is an extension of Ustar Tar. Pax has the following extended features compared to Ustar: * - Filenames of unlimited size. * - File size is unlimited. * * The current implementation allows only reading from a Pax archive. * * @package Archive * @version 1.4.1 */ class ezcArchivePaxTar extends ezcArchiveUstarTar { /** * Initializes the Tar and tries to read the first entry from the archive. * * At initialization it sets the blockFactor to $blockFactor. Each tar archive * has always $blockFactor of blocks ( 0, $blockFactor, 2 * $blockFactor, etc ). * * The Tar archive works with blocks, so therefore the first parameter expects * the archive as a blockFile. * * @param ezcArchiveBlockFile $blockFile * @param int $blockFactor */ public function __construct( ezcArchiveBlockFile $blockFile, $blockFactor = 20 ) { parent::__construct( $blockFile, $blockFactor ); } /** * Returns the value which specifies a TAR_PAX algorithm. * * @return int */ public function getAlgorithm() { return self::TAR_PAX; } /** * Returns false because the TAR_PAX algorithm cannot write (yet). * * @see isWritable() * * @return bool */ public function algorithmCanWrite() { return false; } /** * Creates the a new pax tar header for this class. * * This method expects an {@link ezcArchiveBlockFile} that points to the header that should be * read (and created). If null is given as block file, an empty header will be created. * * @param string|null $file * @return ezcArchivePaxHeader */ protected function createTarHeader( $file = null ) { return new ezcArchivePaxHeader( $file ); } } ?>
SILENT KILLER Tool