Defines a archiver implementation for .tar files.
Hierarchy
- class \Drupal\Core\Archiver\Tar implements ArchiverInterface
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. |
Please login to continue.