You are here

public function TarArchiveWriter::closeArchive in Backup and Migrate 5.0.x

This will be called when all files have been added.

It gives the implementation a chance to clean up and commit the changes if needed.

Return value

mixed

Overrides ArchiveWriterInterface::closeArchive

File

src/Core/Service/TarArchiveWriter.php, line 201

Class

TarArchiveWriter
@package Drupal\backup_migrate\Core\Service

Namespace

Drupal\backup_migrate\Core\Service

Code

public function closeArchive() {
  $this
    ->writeFooter();
  $this->archive
    ->close();
}