Tar, v1.0.10
Lets you tar files and directories.
Other Versions
BrowserPlus.Tar.tar({params}, function{}())
*** WARNING: THIS SERVICE HAS BEEN DEPRECATED AND HAS BEEN REPLACED BY THE Archiver SERVICE. **** Create a tar file from a list of file handles. Service returns a "tarFile" filehandle for the resulting tar file.
Test: tar()
Parameters
- files: list
- A list of filehandles to be added to the tar.
- tarFileName: string (Optional)
- Filename for resulting tar file. The .tar suffix will be appended if necessary.
- followLinks: boolean (Optional)
- If true, symbolic links will be followed, otherwise the link itself will be archived. Default is false. For broken symbolic links, the link itself is archived. Links are never archived on Windows.
- progressCallback: callback (Optional)
- An optional progress callback which is passed an object with the following key: (percent, an integer). The callback is guaranteed to called with percent values of 0 and 100 (unless an error occurs).


