Archive_Tar::addModify()

Archive_Tar::addModify() -- add files or directories

Synopsis

Описание

This methods add files and directories listed in filelist at the end of the existing archive.

If the archive does not exists it attempts to create it. If a file or directory is already in the archive it will only be added at the end of the archive. There is no update of the existing archived file or directory. However while extracting the archive, the last file will replace the first one. This results in a none optimization of the archive size. If a file or directory does not exists, it is ignored.

Параметр

Возвращаемое значение

boolean - Возвращает TRUE в случае успеха и FALSE при неудаче.

Throws

Заметка

Эта функция не должна вызываться статически.

Пример

On Windows system, Windows path format can be used. However if the files are using a Windows path, the $remove_dir parameter must also be in Windows path format. The $add_dir parameter can be in Windows or Unix path format.

    Поддержать сайт на родительском проекте КГБ