You are here

public function TarArchiveReader::getFileExt in Backup and Migrate 8.4

Get the file extension for this archiver. For a tarball writer this would be 'tar'. For a Zip file writer this would be 'zip'.

Return value

string

Overrides ArchiveReaderInterface::getFileExt

File

lib/backup_migrate_core/src/Service/TarArchiveReader.php, line 26

Class

TarArchiveReader
Class TarArchiveReader.

Namespace

BackupMigrate\Core\Service

Code

public function getFileExt() {
  return 'tar';
}