public function Archive_Tar::_writeFooter

public Archive_Tar::_writeFooter()

Return value

bool

File

modules/system/system.tar.inc, line 1159

Class

Archive_Tar

Code

public function _writeFooter() 
 {
  if (is_resource($this->_file)) {
    // ----- Write the last 0 filled block for end of archive
    $v_binary_data = pack('a1024', '');
    $this->_writeBlock($v_binary_data);
  }
  return true;
}

© 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/modules!system!system.tar.inc/function/Archive_Tar::_writeFooter/7.x