class Tar

Defines a archiver implementation for .tar files.

Hierarchy

File

core/lib/Drupal/Core/Archiver/Tar.php, line 8

Namespace

Drupal\Core\Archiver

Members

Name Modifiers Type Description
Tar::$tar protected property The underlying ArchiveTar instance that does the heavy lifting.
Tar::add public function Adds the specified file or directory to the archive. Overrides ArchiverInterface::add
Tar::extract public function Extracts multiple files in the archive to the specified path. Overrides ArchiverInterface::extract
Tar::getArchive public function Retrieves the tar engine itself.
Tar::listContents public function Lists all files in the archive. Overrides ArchiverInterface::listContents
Tar::remove public function Removes the specified file from the archive. Overrides ArchiverInterface::remove
Tar::__construct public function Constructs a Tar object.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Archiver!Tar.php/class/Tar/8.1.x