class Tar in Zircon Profile 8
Same name in this branch
- 8 core/lib/Drupal/Core/Archiver/Tar.php \Drupal\Core\Archiver\Tar
- 8 core/modules/system/src/Plugin/Archiver/Tar.php \Drupal\system\Plugin\Archiver\Tar
Same name and namespace in other branches
- 8.0 core/modules/system/src/Plugin/Archiver/Tar.php \Drupal\system\Plugin\Archiver\Tar
Defines an archiver implementation for .tar files.
Plugin annotation
@Archiver(
id = "Tar",
title = @Translation("Tar"),
description = @Translation("Handles .tar files."),
extensions = {"tar", "tgz", "tar.gz", "tar.bz2"}
)
Hierarchy
- class \Drupal\Core\Archiver\Tar implements ArchiverInterface
- class \Drupal\system\Plugin\Archiver\Tar
Expanded class hierarchy of Tar
File
- core/
modules/ system/ src/ Plugin/ Archiver/ Tar.php, line 22 - Contains \Drupal\system\Plugin\Archiver\Tar.
Namespace
Drupal\system\Plugin\ArchiverView source
class Tar extends BaseTar {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Tar:: |
protected | property | The underlying ArchiveTar instance that does the heavy lifting. | |
Tar:: |
public | function |
Adds the specified file or directory to the archive. Overrides ArchiverInterface:: |
|
Tar:: |
public | function |
Extracts multiple files in the archive to the specified path. Overrides ArchiverInterface:: |
|
Tar:: |
public | function | Retrieves the tar engine itself. | |
Tar:: |
public | function |
Lists all files in the archive. Overrides ArchiverInterface:: |
|
Tar:: |
public | function |
Removes the specified file from the archive. Overrides ArchiverInterface:: |
|
Tar:: |
public | function | Constructs a Tar object. |