Lines Matching refs:archive
14 A "tar file" or "tarball" is an archive of file system entries
15 (directories, files, links, etc.) The name comes from "tape archive".
21 * `c` Create an archive
22 * `r` Replace entries within an archive
23 * `u` Update entries within an archive (ie, replace if they're newer)
24 * `t` List out the contents of an archive
25 * `x` Extract an archive to disk
52 `create`, this is a readable stream of the generated archive. For
53 `list` and `extract` this is a writable stream that an archive should
73 archive, and invalid entries won't be unpacked. This is usually
172 tar.r === tar.replace (appends to archive, file is required)
183 Create a tarball archive.
188 An entry in `fileList` that starts with an `@` symbol is a tar archive
194 - `file` Write the tarball archive to the specified filename. If this
207 - `cwd` The current working directory for creating the archive.
209 - `prefix` A path portion to prefix onto the entries in the archive.
210 - `gzip` Set to any truthy value to create a gzipped archive, or an
213 entry being added. Return `true` to add the entry to the archive,
221 - `mode` The mode to set on the created file archive
222 - `noDirRecurse` Do not recursively archive the contents of
231 `tar.update` or the `keepNewer` option with the resulting tar archive.
234 everything added to the archive. Overridden by `noMtime`.
251 Extract a tarball archive.
256 If the archive is gzipped, then tar will detect this and unzip it.
272 - `file` The archive file to extract. If not specified, then a
273 Writable stream is returned where the archive data should be
279 archive, or `false` to skip it.
281 than the file in the archive. [Alias: `keep-newer`,
284 appears more than once in an archive, later copies will not
303 extracted entries to the `uid` and `gid` fields in the archive.
312 specified user id, regardless of the `uid` field in the archive.
317 specified group id, regardless of the `gid` field in the archive.
325 the archive entry. If a falsey value is provided, then the entry is
350 List the contents of a tarball archive.
355 If the archive is gzipped, then tar will detect this and unzip it.
366 - `file` The archive file to list. If not specified, then a
367 Writable stream is returned where the archive data should be
375 archive, or `false` to skip it.
388 Add files to an archive if they are newer than the entry already in
389 the tarball archive.
394 An entry in `fileList` that starts with an `@` symbol is a tar archive
400 - `file` Required. Write the tarball archive to the specified
408 archive. Defaults to `process.cwd()`. [Alias: `C`]
409 - `prefix` A path portion to prefix onto the entries in the archive.
410 - `gzip` Set to any truthy value to create a gzipped archive, or an
413 entry being added. Return `true` to add the entry to the archive,
423 - `noDirRecurse` Do not recursively archive the contents of
432 `tar.update` or the `keepNewer` option with the resulting tar archive.
435 everything added to the archive. Overridden by `noMtime`.
439 Add files to an existing archive. Because later entries override
445 An entry in `fileList` that starts with an `@` symbol is a tar archive
451 - `file` Required. Write the tarball archive to the specified
459 archive. Defaults to `process.cwd()`. [Alias: `C`]
460 - `prefix` A path portion to prefix onto the entries in the archive.
461 - `gzip` Set to any truthy value to create a gzipped archive, or an
464 entry being added. Return `true` to add the entry to the archive,
474 - `noDirRecurse` Do not recursively archive the contents of
483 `tar.update` or the `keepNewer` option with the resulting tar archive.
486 everything added to the archive. Overridden by `noMtime`.
505 - `cwd` The current working directory for creating the archive.
507 - `prefix` A path portion to prefix onto the entries in the archive.
508 - `gzip` Set to any truthy value to create a gzipped archive, or an
511 entry being added. Return `true` to add the entry to the archive,
527 - `noDirRecurse` Do not recursively archive the contents of
536 `tar.update` or the `keepNewer` option with the resulting tar archive.
538 everything added to the archive. Overridden by `noMtime`.
542 Adds an entry to the archive. Returns the Pack stream.
546 Adds an entry to the archive. Returns true if flushed.
550 Finishes the archive.
558 A writable stream that unpacks a tar archive onto the file system.
580 archive, or `false` to skip it.
582 than the file in the archive.
584 appears more than once in an archive, later copies will not
607 extracted entries to the `uid` and `gid` fields in the archive.
618 specified user id, regardless of the `uid` field in the archive.
623 specified group id, regardless of the `gid` field in the archive.
631 the archive entry. If a falsey value is provided, then the entry is
651 A writable stream that parses a tar archive stream. All the standard
654 If the archive is gzipped, then tar will detect this and unzip it.
674 archive, or `false` to skip it.
687 A representation of an entry that is being read out of a tar archive.
713 system into a tar archive.
723 - `path` The path field that will be written to the archive. By
741 - `cwd` The current working directory for creating the archive.
750 in the archive.
756 `tar.update` or the `keepNewer` option with the resulting tar archive.
761 `path` is the path of the entry as it is written in the archive.
776 - `cwd` The current working directory for creating the archive.
788 `tar.update` or the `keepNewer` option with the resulting tar archive.
789 - `umask` Set to restrict the modes on the entries in the archive,
810 `readEntry` is the entry being read out of another archive.
825 `tar.update` or the `keepNewer` option with the resulting tar archive.