Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Tar.php

function Archive_Tar::_append

Parameters

$p_filelist:

string $p_add_dir:

string $p_remove_dir:

Return value

bool

1 call to Archive_Tar::_append()
Archive_Tar::addModify in vendor/pear/archive_tar/Archive/Tar.php
This method add the files / directories listed in $p_filelist at the end of the existing archive. If the archive does not yet exists it is created. The $p_filelist parameter can be an array of string, each string representing a filename or a directory…

File

vendor/pear/archive_tar/Archive/Tar.php, line 2412

Class

Archive_Tar
Creates a (compressed) Tar archive

Code

public function _append($p_filelist, $p_add_dir = '', $p_remove_dir = '') {
    if (!$this->_openAppend()) {
        return false;
    }
    if ($this->_addList($p_filelist, $p_add_dir, $p_remove_dir)) {
        $this->_writeFooter();
    }
    $this->_close();
    return true;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal