node-tar-4.4.6/000077500000000000000000000000001333044642000132355ustar00rootroot00000000000000node-tar-4.4.6/.gitignore000066400000000000000000000001271333044642000152250ustar00rootroot00000000000000.*.swp node_modules .nyc_output/ coverage/ test/fixtures/unpack benchmarks/extract/cwd node-tar-4.4.6/.travis.yml000066400000000000000000000001761333044642000153520ustar00rootroot00000000000000language: node_js sudo: false node_js: - 8 - 6 - 4 notifications: email: false cache: directories: - $HOME/.npm node-tar-4.4.6/LICENSE000066400000000000000000000013751333044642000142500ustar00rootroot00000000000000The ISC License Copyright (c) Isaac Z. Schlueter and Contributors Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. node-tar-4.4.6/README.md000066400000000000000000001147671333044642000145340ustar00rootroot00000000000000# node-tar [![Build Status](https://travis-ci.org/npm/node-tar.svg?branch=master)](https://travis-ci.org/npm/node-tar) [Fast](./benchmarks) and full-featured Tar for Node.js The API is designed to mimic the behavior of `tar(1)` on unix systems. If you are familiar with how tar works, most of this will hopefully be straightforward for you. If not, then hopefully this module can teach you useful unix skills that may come in handy someday :) ## Background A "tar file" or "tarball" is an archive of file system entries (directories, files, links, etc.) The name comes from "tape archive". If you run `man tar` on almost any Unix command line, you'll learn quite a bit about what it can do, and its history. Tar has 5 main top-level commands: * `c` Create an archive * `r` Replace entries within an archive * `u` Update entries within an archive (ie, replace if they're newer) * `t` List out the contents of an archive * `x` Extract an archive to disk The other flags and options modify how this top level function works. ## High-Level API These 5 functions are the high-level API. All of them have a single-character name (for unix nerds familiar with `tar(1)`) as well as a long name (for everyone else). All the high-level functions take the following arguments, all three of which are optional and may be omitted. 1. `options` - An optional object specifying various options 2. `paths` - An array of paths to add or extract 3. `callback` - Called when the command is completed, if async. (If sync or no file specified, providing a callback throws a `TypeError`.) If the command is sync (ie, if `options.sync=true`), then the callback is not allowed, since the action will be completed immediately. If a `file` argument is specified, and the command is async, then a `Promise` is returned. In this case, if async, a callback may be provided which is called when the command is completed. If a `file` option is not specified, then a stream is returned. For `create`, this is a readable stream of the generated archive. For `list` and `extract` this is a writable stream that an archive should be written into. If a file is not specified, then a callback is not allowed, because you're already getting a stream to work with. `replace` and `update` only work on existing archives, and so require a `file` argument. Sync commands without a file argument return a stream that acts on its input immediately in the same tick. For readable streams, this means that all of the data is immediately available by calling `stream.read()`. For writable streams, it will be acted upon as soon as it is provided, but this can be at any time. ### Warnings Some things cause tar to emit a warning, but should usually not cause the entire operation to fail. There are three ways to handle warnings: 1. **Ignore them** (default) Invalid entries won't be put in the archive, and invalid entries won't be unpacked. This is usually fine, but can hide failures that you might care about. 2. **Notice them** Add an `onwarn` function to the options, or listen to the `'warn'` event on any tar stream. The function will get called as `onwarn(message, data)`. Handle as appropriate. 3. **Explode them.** Set `strict: true` in the options object, and `warn` messages will be emitted as `'error'` events instead. If there's no `error` handler, this causes the program to crash. If used with a promise-returning/callback-taking method, then it'll send the error to the promise/callback. ### Examples The API mimics the `tar(1)` command line functionality, with aliases for more human-readable option and function names. The goal is that if you know how to use `tar(1)` in Unix, then you know how to use `require('tar')` in JavaScript. To replicate `tar czf my-tarball.tgz files and folders`, you'd do: ```js tar.c( { gzip: , file: 'my-tarball.tgz' }, ['some', 'files', 'and', 'folders'] ).then(_ => { .. tarball has been created .. }) ``` To replicate `tar cz files and folders > my-tarball.tgz`, you'd do: ```js tar.c( // or tar.create { gzip: }, ['some', 'files', 'and', 'folders'] ).pipe(fs.createWriteStream('my-tarball.tgz') ``` To replicate `tar xf my-tarball.tgz` you'd do: ```js tar.x( // or tar.extract( { file: 'my-tarball.tgz' } ).then(_=> { .. tarball has been dumped in cwd .. }) ``` To replicate `cat my-tarball.tgz | tar x -C some-dir --strip=1`: ```js fs.createReadStream('my-tarball.tgz').pipe( tar.x({ strip: 1, C: 'some-dir' // alias for cwd:'some-dir', also ok }) ) ``` To replicate `tar tf my-tarball.tgz`, do this: ```js tar.t({ file: 'my-tarball.tgz', onentry: entry => { .. do whatever with it .. } }) ``` To replicate `cat my-tarball.tgz | tar t` do: ```js fs.createReadStream('my-tarball.tgz') .pipe(tar.t()) .on('entry', entry => { .. do whatever with it .. }) ``` To do anything synchronous, add `sync: true` to the options. Note that sync functions don't take a callback and don't return a promise. When the function returns, it's already done. Sync methods without a file argument return a sync stream, which flushes immediately. But, of course, it still won't be done until you `.end()` it. To filter entries, add `filter: ` to the options. Tar-creating methods call the filter with `filter(path, stat)`. Tar-reading methods (including extraction) call the filter with `filter(path, entry)`. The filter is called in the `this`-context of the `Pack` or `Unpack` stream object. The arguments list to `tar t` and `tar x` specify a list of filenames to extract or list, so they're equivalent to a filter that tests if the file is in the list. For those who _aren't_ fans of tar's single-character command names: ``` tar.c === tar.create tar.r === tar.replace (appends to archive, file is required) tar.u === tar.update (appends if newer, file is required) tar.x === tar.extract tar.t === tar.list ``` Keep reading for all the command descriptions and options, as well as the low-level API that they are built on. ### tar.c(options, fileList, callback) [alias: tar.create] Create a tarball archive. The `fileList` is an array of paths to add to the tarball. Adding a directory also adds its children recursively. An entry in `fileList` that starts with an `@` symbol is a tar archive whose entries will be added. To add a file that starts with `@`, prepend it with `./`. The following options are supported: - `file` Write the tarball archive to the specified filename. If this is specified, then the callback will be fired when the file has been written, and a promise will be returned that resolves when the file is written. If a filename is not specified, then a Readable Stream will be returned which will emit the file data. [Alias: `f`] - `sync` Act synchronously. If this is set, then any provided file will be fully written after the call to `tar.c`. If this is set, and a file is not provided, then the resulting stream will already have the data ready to `read` or `emit('data')` as soon as you request it. - `onwarn` A function that will get called with `(message, data)` for any warnings encountered. - `strict` Treat warnings as crash-worthy errors. Default false. - `cwd` The current working directory for creating the archive. Defaults to `process.cwd()`. [Alias: `C`] - `prefix` A path portion to prefix onto the entries in the archive. - `gzip` Set to any truthy value to create a gzipped archive, or an object with settings for `zlib.Gzip()` [Alias: `z`] - `filter` A function that gets called with `(path, stat)` for each entry being added. Return `true` to add the entry to the archive, or `false` to omit it. - `portable` Omit metadata that is system-specific: `ctime`, `atime`, `uid`, `gid`, `uname`, `gname`, `dev`, `ino`, and `nlink`. Note that `mtime` is still included, because this is necessary other time-based operations. - `preservePaths` Allow absolute paths. By default, `/` is stripped from absolute paths. [Alias: `P`] - `mode` The mode to set on the created file archive - `noDirRecurse` Do not recursively archive the contents of directories. [Alias: `n`] - `follow` Set to true to pack the targets of symbolic links. Without this option, symbolic links are archived as such. [Alias: `L`, `h`] - `noPax` Suppress pax extended headers. Note that this means that long paths and linkpaths will be truncated, and large or negative numeric values may be interpreted incorrectly. - `noMtime` Set to true to omit writing `mtime` values for entries. Note that this prevents using other mtime-based features like `tar.update` or the `keepNewer` option with the resulting tar archive. [Alias: `m`, `no-mtime`] - `mtime` Set to a `Date` object to force a specific `mtime` for everything added to the archive. Overridden by `noMtime`. The following options are mostly internal, but can be modified in some advanced use cases, such as re-using caches between runs. - `linkCache` A Map object containing the device and inode value for any file whose nlink is > 1, to identify hard links. - `statCache` A Map object that caches calls `lstat`. - `readdirCache` A Map object that caches calls to `readdir`. - `jobs` A number specifying how many concurrent jobs to run. Defaults to 4. - `maxReadSize` The maximum buffer size for `fs.read()` operations. Defaults to 16 MB. ### tar.x(options, fileList, callback) [alias: tar.extract] Extract a tarball archive. The `fileList` is an array of paths to extract from the tarball. If no paths are provided, then all the entries are extracted. If the archive is gzipped, then tar will detect this and unzip it. Note that all directories that are created will be forced to be writable, readable, and listable by their owner, to avoid cases where a directory prevents extraction of child entries by virtue of its mode. Most extraction errors will cause a `warn` event to be emitted. If the `cwd` is missing, or not a directory, then the extraction will fail completely. The following options are supported: - `cwd` Extract files relative to the specified directory. Defaults to `process.cwd()`. If provided, this must exist and must be a directory. [Alias: `C`] - `file` The archive file to extract. If not specified, then a Writable stream is returned where the archive data should be written. [Alias: `f`] - `sync` Create files and directories synchronously. - `strict` Treat warnings as crash-worthy errors. Default false. - `filter` A function that gets called with `(path, entry)` for each entry being unpacked. Return `true` to unpack the entry from the archive, or `false` to skip it. - `newer` Set to true to keep the existing file on disk if it's newer than the file in the archive. [Alias: `keep-newer`, `keep-newer-files`] - `keep` Do not overwrite existing files. In particular, if a file appears more than once in an archive, later copies will not overwrite earlier copies. [Alias: `k`, `keep-existing`] - `preservePaths` Allow absolute paths, paths containing `..`, and extracting through symbolic links. By default, `/` is stripped from absolute paths, `..` paths are not extracted, and any file whose location would be modified by a symbolic link is not extracted. [Alias: `P`] - `unlink` Unlink files before creating them. Without this option, tar overwrites existing files, which preserves existing hardlinks. With this option, existing hardlinks will be broken, as will any symlink that would affect the location of an extracted file. [Alias: `U`] - `strip` Remove the specified number of leading path elements. Pathnames with fewer elements will be silently skipped. Note that the pathname is edited after applying the filter, but before security checks. [Alias: `strip-components`, `stripComponents`] - `onwarn` A function that will get called with `(message, data)` for any warnings encountered. - `preserveOwner` If true, tar will set the `uid` and `gid` of extracted entries to the `uid` and `gid` fields in the archive. This defaults to true when run as root, and false otherwise. If false, then files and directories will be set with the owner and group of the user running the process. This is similar to `-p` in `tar(1)`, but ACLs and other system-specific data is never unpacked in this implementation, and modes are set by default already. [Alias: `p`] - `uid` Set to a number to force ownership of all extracted files and folders, and all implicitly created directories, to be owned by the specified user id, regardless of the `uid` field in the archive. Cannot be used along with `preserveOwner`. Requires also setting a `gid` option. - `gid` Set to a number to force ownership of all extracted files and folders, and all implicitly created directories, to be owned by the specified group id, regardless of the `gid` field in the archive. Cannot be used along with `preserveOwner`. Requires also setting a `uid` option. - `noMtime` Set to true to omit writing `mtime` value for extracted entries. [Alias: `m`, `no-mtime`] - `transform` Provide a function that takes an `entry` object, and returns a stream, or any falsey value. If a stream is provided, then that stream's data will be written instead of the contents of the archive entry. If a falsey value is provided, then the entry is written to disk as normal. (To exclude items from extraction, use the `filter` option described above.) - `onentry` A function that gets called with `(entry)` for each entry that passes the filter. The following options are mostly internal, but can be modified in some advanced use cases, such as re-using caches between runs. - `maxReadSize` The maximum buffer size for `fs.read()` operations. Defaults to 16 MB. - `umask` Filter the modes of entries like `process.umask()`. - `dmode` Default mode for directories - `fmode` Default mode for files - `dirCache` A Map object of which directories exist. - `maxMetaEntrySize` The maximum size of meta entries that is supported. Defaults to 1 MB. Note that using an asynchronous stream type with the `transform` option will cause undefined behavior in sync extractions. [MiniPass](http://npm.im/minipass)-based streams are designed for this use case. ### tar.t(options, fileList, callback) [alias: tar.list] List the contents of a tarball archive. The `fileList` is an array of paths to list from the tarball. If no paths are provided, then all the entries are listed. If the archive is gzipped, then tar will detect this and unzip it. Returns an event emitter that emits `entry` events with `tar.ReadEntry` objects. However, they don't emit `'data'` or `'end'` events. (If you want to get actual readable entries, use the `tar.Parse` class instead.) The following options are supported: - `cwd` Extract files relative to the specified directory. Defaults to `process.cwd()`. [Alias: `C`] - `file` The archive file to list. If not specified, then a Writable stream is returned where the archive data should be written. [Alias: `f`] - `sync` Read the specified file synchronously. (This has no effect when a file option isn't specified, because entries are emitted as fast as they are parsed from the stream anyway.) - `strict` Treat warnings as crash-worthy errors. Default false. - `filter` A function that gets called with `(path, entry)` for each entry being listed. Return `true` to emit the entry from the archive, or `false` to skip it. - `onentry` A function that gets called with `(entry)` for each entry that passes the filter. This is important for when both `file` and `sync` are set, because it will be called synchronously. - `maxReadSize` The maximum buffer size for `fs.read()` operations. Defaults to 16 MB. - `noResume` By default, `entry` streams are resumed immediately after the call to `onentry`. Set `noResume: true` to suppress this behavior. Note that by opting into this, the stream will never complete until the entry data is consumed. ### tar.u(options, fileList, callback) [alias: tar.update] Add files to an archive if they are newer than the entry already in the tarball archive. The `fileList` is an array of paths to add to the tarball. Adding a directory also adds its children recursively. An entry in `fileList` that starts with an `@` symbol is a tar archive whose entries will be added. To add a file that starts with `@`, prepend it with `./`. The following options are supported: - `file` Required. Write the tarball archive to the specified filename. [Alias: `f`] - `sync` Act synchronously. If this is set, then any provided file will be fully written after the call to `tar.c`. - `onwarn` A function that will get called with `(message, data)` for any warnings encountered. - `strict` Treat warnings as crash-worthy errors. Default false. - `cwd` The current working directory for adding entries to the archive. Defaults to `process.cwd()`. [Alias: `C`] - `prefix` A path portion to prefix onto the entries in the archive. - `gzip` Set to any truthy value to create a gzipped archive, or an object with settings for `zlib.Gzip()` [Alias: `z`] - `filter` A function that gets called with `(path, stat)` for each entry being added. Return `true` to add the entry to the archive, or `false` to omit it. - `portable` Omit metadata that is system-specific: `ctime`, `atime`, `uid`, `gid`, `uname`, `gname`, `dev`, `ino`, and `nlink`. Note that `mtime` is still included, because this is necessary other time-based operations. - `preservePaths` Allow absolute paths. By default, `/` is stripped from absolute paths. [Alias: `P`] - `maxReadSize` The maximum buffer size for `fs.read()` operations. Defaults to 16 MB. - `noDirRecurse` Do not recursively archive the contents of directories. [Alias: `n`] - `follow` Set to true to pack the targets of symbolic links. Without this option, symbolic links are archived as such. [Alias: `L`, `h`] - `noPax` Suppress pax extended headers. Note that this means that long paths and linkpaths will be truncated, and large or negative numeric values may be interpreted incorrectly. - `noMtime` Set to true to omit writing `mtime` values for entries. Note that this prevents using other mtime-based features like `tar.update` or the `keepNewer` option with the resulting tar archive. [Alias: `m`, `no-mtime`] - `mtime` Set to a `Date` object to force a specific `mtime` for everything added to the archive. Overridden by `noMtime`. ### tar.r(options, fileList, callback) [alias: tar.replace] Add files to an existing archive. Because later entries override earlier entries, this effectively replaces any existing entries. The `fileList` is an array of paths to add to the tarball. Adding a directory also adds its children recursively. An entry in `fileList` that starts with an `@` symbol is a tar archive whose entries will be added. To add a file that starts with `@`, prepend it with `./`. The following options are supported: - `file` Required. Write the tarball archive to the specified filename. [Alias: `f`] - `sync` Act synchronously. If this is set, then any provided file will be fully written after the call to `tar.c`. - `onwarn` A function that will get called with `(message, data)` for any warnings encountered. - `strict` Treat warnings as crash-worthy errors. Default false. - `cwd` The current working directory for adding entries to the archive. Defaults to `process.cwd()`. [Alias: `C`] - `prefix` A path portion to prefix onto the entries in the archive. - `gzip` Set to any truthy value to create a gzipped archive, or an object with settings for `zlib.Gzip()` [Alias: `z`] - `filter` A function that gets called with `(path, stat)` for each entry being added. Return `true` to add the entry to the archive, or `false` to omit it. - `portable` Omit metadata that is system-specific: `ctime`, `atime`, `uid`, `gid`, `uname`, `gname`, `dev`, `ino`, and `nlink`. Note that `mtime` is still included, because this is necessary other time-based operations. - `preservePaths` Allow absolute paths. By default, `/` is stripped from absolute paths. [Alias: `P`] - `maxReadSize` The maximum buffer size for `fs.read()` operations. Defaults to 16 MB. - `noDirRecurse` Do not recursively archive the contents of directories. [Alias: `n`] - `follow` Set to true to pack the targets of symbolic links. Without this option, symbolic links are archived as such. [Alias: `L`, `h`] - `noPax` Suppress pax extended headers. Note that this means that long paths and linkpaths will be truncated, and large or negative numeric values may be interpreted incorrectly. - `noMtime` Set to true to omit writing `mtime` values for entries. Note that this prevents using other mtime-based features like `tar.update` or the `keepNewer` option with the resulting tar archive. [Alias: `m`, `no-mtime`] - `mtime` Set to a `Date` object to force a specific `mtime` for everything added to the archive. Overridden by `noMtime`. ## Low-Level API ### class tar.Pack A readable tar stream. Has all the standard readable stream interface stuff. `'data'` and `'end'` events, `read()` method, `pause()` and `resume()`, etc. #### constructor(options) The following options are supported: - `onwarn` A function that will get called with `(message, data)` for any warnings encountered. - `strict` Treat warnings as crash-worthy errors. Default false. - `cwd` The current working directory for creating the archive. Defaults to `process.cwd()`. - `prefix` A path portion to prefix onto the entries in the archive. - `gzip` Set to any truthy value to create a gzipped archive, or an object with settings for `zlib.Gzip()` - `filter` A function that gets called with `(path, stat)` for each entry being added. Return `true` to add the entry to the archive, or `false` to omit it. - `portable` Omit metadata that is system-specific: `ctime`, `atime`, `uid`, `gid`, `uname`, `gname`, `dev`, `ino`, and `nlink`. Note that `mtime` is still included, because this is necessary other time-based operations. - `preservePaths` Allow absolute paths. By default, `/` is stripped from absolute paths. - `linkCache` A Map object containing the device and inode value for any file whose nlink is > 1, to identify hard links. - `statCache` A Map object that caches calls `lstat`. - `readdirCache` A Map object that caches calls to `readdir`. - `jobs` A number specifying how many concurrent jobs to run. Defaults to 4. - `maxReadSize` The maximum buffer size for `fs.read()` operations. Defaults to 16 MB. - `noDirRecurse` Do not recursively archive the contents of directories. - `follow` Set to true to pack the targets of symbolic links. Without this option, symbolic links are archived as such. - `noPax` Suppress pax extended headers. Note that this means that long paths and linkpaths will be truncated, and large or negative numeric values may be interpreted incorrectly. - `noMtime` Set to true to omit writing `mtime` values for entries. Note that this prevents using other mtime-based features like `tar.update` or the `keepNewer` option with the resulting tar archive. - `mtime` Set to a `Date` object to force a specific `mtime` for everything added to the archive. Overridden by `noMtime`. #### add(path) Adds an entry to the archive. Returns the Pack stream. #### write(path) Adds an entry to the archive. Returns true if flushed. #### end() Finishes the archive. ### class tar.Pack.Sync Synchronous version of `tar.Pack`. ### class tar.Unpack A writable stream that unpacks a tar archive onto the file system. All the normal writable stream stuff is supported. `write()` and `end()` methods, `'drain'` events, etc. Note that all directories that are created will be forced to be writable, readable, and listable by their owner, to avoid cases where a directory prevents extraction of child entries by virtue of its mode. `'close'` is emitted when it's done writing stuff to the file system. Most unpack errors will cause a `warn` event to be emitted. If the `cwd` is missing, or not a directory, then an error will be emitted. #### constructor(options) - `cwd` Extract files relative to the specified directory. Defaults to `process.cwd()`. If provided, this must exist and must be a directory. - `filter` A function that gets called with `(path, entry)` for each entry being unpacked. Return `true` to unpack the entry from the archive, or `false` to skip it. - `newer` Set to true to keep the existing file on disk if it's newer than the file in the archive. - `keep` Do not overwrite existing files. In particular, if a file appears more than once in an archive, later copies will not overwrite earlier copies. - `preservePaths` Allow absolute paths, paths containing `..`, and extracting through symbolic links. By default, `/` is stripped from absolute paths, `..` paths are not extracted, and any file whose location would be modified by a symbolic link is not extracted. - `unlink` Unlink files before creating them. Without this option, tar overwrites existing files, which preserves existing hardlinks. With this option, existing hardlinks will be broken, as will any symlink that would affect the location of an extracted file. - `strip` Remove the specified number of leading path elements. Pathnames with fewer elements will be silently skipped. Note that the pathname is edited after applying the filter, but before security checks. - `onwarn` A function that will get called with `(message, data)` for any warnings encountered. - `umask` Filter the modes of entries like `process.umask()`. - `dmode` Default mode for directories - `fmode` Default mode for files - `dirCache` A Map object of which directories exist. - `maxMetaEntrySize` The maximum size of meta entries that is supported. Defaults to 1 MB. - `preserveOwner` If true, tar will set the `uid` and `gid` of extracted entries to the `uid` and `gid` fields in the archive. This defaults to true when run as root, and false otherwise. If false, then files and directories will be set with the owner and group of the user running the process. This is similar to `-p` in `tar(1)`, but ACLs and other system-specific data is never unpacked in this implementation, and modes are set by default already. - `win32` True if on a windows platform. Causes behavior where filenames containing `<|>?` chars are converted to windows-compatible values while being unpacked. - `uid` Set to a number to force ownership of all extracted files and folders, and all implicitly created directories, to be owned by the specified user id, regardless of the `uid` field in the archive. Cannot be used along with `preserveOwner`. Requires also setting a `gid` option. - `gid` Set to a number to force ownership of all extracted files and folders, and all implicitly created directories, to be owned by the specified group id, regardless of the `gid` field in the archive. Cannot be used along with `preserveOwner`. Requires also setting a `uid` option. - `noMtime` Set to true to omit writing `mtime` value for extracted entries. - `transform` Provide a function that takes an `entry` object, and returns a stream, or any falsey value. If a stream is provided, then that stream's data will be written instead of the contents of the archive entry. If a falsey value is provided, then the entry is written to disk as normal. (To exclude items from extraction, use the `filter` option described above.) - `strict` Treat warnings as crash-worthy errors. Default false. - `onentry` A function that gets called with `(entry)` for each entry that passes the filter. - `onwarn` A function that will get called with `(message, data)` for any warnings encountered. ### class tar.Unpack.Sync Synchronous version of `tar.Unpack`. Note that using an asynchronous stream type with the `transform` option will cause undefined behavior in sync unpack streams. [MiniPass](http://npm.im/minipass)-based streams are designed for this use case. ### class tar.Parse A writable stream that parses a tar archive stream. All the standard writable stream stuff is supported. If the archive is gzipped, then tar will detect this and unzip it. Emits `'entry'` events with `tar.ReadEntry` objects, which are themselves readable streams that you can pipe wherever. Each `entry` will not emit until the one before it is flushed through, so make sure to either consume the data (with `on('data', ...)` or `.pipe(...)`) or throw it away with `.resume()` to keep the stream flowing. #### constructor(options) Returns an event emitter that emits `entry` events with `tar.ReadEntry` objects. The following options are supported: - `strict` Treat warnings as crash-worthy errors. Default false. - `filter` A function that gets called with `(path, entry)` for each entry being listed. Return `true` to emit the entry from the archive, or `false` to skip it. - `onentry` A function that gets called with `(entry)` for each entry that passes the filter. - `onwarn` A function that will get called with `(message, data)` for any warnings encountered. #### abort(message, error) Stop all parsing activities. This is called when there are zlib errors. It also emits a warning with the message and error provided. ### class tar.ReadEntry extends [MiniPass](http://npm.im/minipass) A representation of an entry that is being read out of a tar archive. It has the following fields: - `extended` The extended metadata object provided to the constructor. - `globalExtended` The global extended metadata object provided to the constructor. - `remain` The number of bytes remaining to be written into the stream. - `blockRemain` The number of 512-byte blocks remaining to be written into the stream. - `ignore` Whether this entry should be ignored. - `meta` True if this represents metadata about the next entry, false if it represents a filesystem object. - All the fields from the header, extended header, and global extended header are added to the ReadEntry object. So it has `path`, `type`, `size, `mode`, and so on. #### constructor(header, extended, globalExtended) Create a new ReadEntry object with the specified header, extended header, and global extended header values. ### class tar.WriteEntry extends [MiniPass](http://npm.im/minipass) A representation of an entry that is being written from the file system into a tar archive. Emits data for the Header, and for the Pax Extended Header if one is required, as well as any body data. Creating a WriteEntry for a directory does not also create WriteEntry objects for all of the directory contents. It has the following fields: - `path` The path field that will be written to the archive. By default, this is also the path from the cwd to the file system object. - `portable` Omit metadata that is system-specific: `ctime`, `atime`, `uid`, `gid`, `uname`, `gname`, `dev`, `ino`, and `nlink`. Note that `mtime` is still included, because this is necessary other time-based operations. - `myuid` If supported, the uid of the user running the current process. - `myuser` The `env.USER` string if set, or `''`. Set as the entry `uname` field if the file's `uid` matches `this.myuid`. - `maxReadSize` The maximum buffer size for `fs.read()` operations. Defaults to 1 MB. - `linkCache` A Map object containing the device and inode value for any file whose nlink is > 1, to identify hard links. - `statCache` A Map object that caches calls `lstat`. - `preservePaths` Allow absolute paths. By default, `/` is stripped from absolute paths. - `cwd` The current working directory for creating the archive. Defaults to `process.cwd()`. - `absolute` The absolute path to the entry on the filesystem. By default, this is `path.resolve(this.cwd, this.path)`, but it can be overridden explicitly. - `strict` Treat warnings as crash-worthy errors. Default false. - `win32` True if on a windows platform. Causes behavior where paths replace `\` with `/` and filenames containing the windows-compatible forms of `<|>?:` characters are converted to actual `<|>?:` characters in the archive. - `noPax` Suppress pax extended headers. Note that this means that long paths and linkpaths will be truncated, and large or negative numeric values may be interpreted incorrectly. - `noMtime` Set to true to omit writing `mtime` values for entries. Note that this prevents using other mtime-based features like `tar.update` or the `keepNewer` option with the resulting tar archive. #### constructor(path, options) `path` is the path of the entry as it is written in the archive. The following options are supported: - `portable` Omit metadata that is system-specific: `ctime`, `atime`, `uid`, `gid`, `uname`, `gname`, `dev`, `ino`, and `nlink`. Note that `mtime` is still included, because this is necessary other time-based operations. - `maxReadSize` The maximum buffer size for `fs.read()` operations. Defaults to 1 MB. - `linkCache` A Map object containing the device and inode value for any file whose nlink is > 1, to identify hard links. - `statCache` A Map object that caches calls `lstat`. - `preservePaths` Allow absolute paths. By default, `/` is stripped from absolute paths. - `cwd` The current working directory for creating the archive. Defaults to `process.cwd()`. - `absolute` The absolute path to the entry on the filesystem. By default, this is `path.resolve(this.cwd, this.path)`, but it can be overridden explicitly. - `strict` Treat warnings as crash-worthy errors. Default false. - `win32` True if on a windows platform. Causes behavior where paths replace `\` with `/`. - `onwarn` A function that will get called with `(message, data)` for any warnings encountered. - `noMtime` Set to true to omit writing `mtime` values for entries. Note that this prevents using other mtime-based features like `tar.update` or the `keepNewer` option with the resulting tar archive. - `umask` Set to restrict the modes on the entries in the archive, somewhat like how umask works on file creation. Defaults to `process.umask()` on unix systems, or `0o22` on Windows. #### warn(message, data) If strict, emit an error with the provided message. Othewise, emit a `'warn'` event with the provided message and data. ### class tar.WriteEntry.Sync Synchronous version of tar.WriteEntry ### class tar.WriteEntry.Tar A version of tar.WriteEntry that gets its data from a tar.ReadEntry instead of from the filesystem. #### constructor(readEntry, options) `readEntry` is the entry being read out of another archive. The following options are supported: - `portable` Omit metadata that is system-specific: `ctime`, `atime`, `uid`, `gid`, `uname`, `gname`, `dev`, `ino`, and `nlink`. Note that `mtime` is still included, because this is necessary other time-based operations. - `preservePaths` Allow absolute paths. By default, `/` is stripped from absolute paths. - `strict` Treat warnings as crash-worthy errors. Default false. - `onwarn` A function that will get called with `(message, data)` for any warnings encountered. - `noMtime` Set to true to omit writing `mtime` values for entries. Note that this prevents using other mtime-based features like `tar.update` or the `keepNewer` option with the resulting tar archive. ### class tar.Header A class for reading and writing header blocks. It has the following fields: - `nullBlock` True if decoding a block which is entirely composed of `0x00` null bytes. (Useful because tar files are terminated by at least 2 null blocks.) - `cksumValid` True if the checksum in the header is valid, false otherwise. - `needPax` True if the values, as encoded, will require a Pax extended header. - `path` The path of the entry. - `mode` The 4 lowest-order octal digits of the file mode. That is, read/write/execute permissions for world, group, and owner, and the setuid, setgid, and sticky bits. - `uid` Numeric user id of the file owner - `gid` Numeric group id of the file owner - `size` Size of the file in bytes - `mtime` Modified time of the file - `cksum` The checksum of the header. This is generated by adding all the bytes of the header block, treating the checksum field itself as all ascii space characters (that is, `0x20`). - `type` The human-readable name of the type of entry this represents, or the alphanumeric key if unknown. - `typeKey` The alphanumeric key for the type of entry this header represents. - `linkpath` The target of Link and SymbolicLink entries. - `uname` Human-readable user name of the file owner - `gname` Human-readable group name of the file owner - `devmaj` The major portion of the device number. Always `0` for files, directories, and links. - `devmin` The minor portion of the device number. Always `0` for files, directories, and links. - `atime` File access time. - `ctime` File change time. #### constructor(data, [offset=0]) `data` is optional. It is either a Buffer that should be interpreted as a tar Header starting at the specified offset and continuing for 512 bytes, or a data object of keys and values to set on the header object, and eventually encode as a tar Header. #### decode(block, offset) Decode the provided buffer starting at the specified offset. Buffer length must be greater than 512 bytes. #### set(data) Set the fields in the data object. #### encode(buffer, offset) Encode the header fields into the buffer at the specified offset. Returns `this.needPax` to indicate whether a Pax Extended Header is required to properly encode the specified data. ### class tar.Pax An object representing a set of key-value pairs in an Pax extended header entry. It has the following fields. Where the same name is used, they have the same semantics as the tar.Header field of the same name. - `global` True if this represents a global extended header, or false if it is for a single entry. - `atime` - `charset` - `comment` - `ctime` - `gid` - `gname` - `linkpath` - `mtime` - `path` - `size` - `uid` - `uname` - `dev` - `ino` - `nlink` #### constructor(object, global) Set the fields set in the object. `global` is a boolean that defaults to false. #### encode() Return a Buffer containing the header and body for the Pax extended header entry, or `null` if there is nothing to encode. #### encodeBody() Return a string representing the body of the pax extended header entry. #### encodeField(fieldName) Return a string representing the key/value encoding for the specified fieldName, or `''` if the field is unset. ### tar.Pax.parse(string, extended, global) Return a new Pax object created by parsing the contents of the string provided. If the `extended` object is set, then also add the fields from that object. (This is necessary because multiple metadata entries can occur in sequence.) ### tar.types A translation table for the `type` field in tar headers. #### tar.types.name.get(code) Get the human-readable name for a given alphanumeric code. #### tar.types.code.get(name) Get the alphanumeric code for a given human-readable name. node-tar-4.4.6/index.js000066400000000000000000000012531333044642000147030ustar00rootroot00000000000000'use strict' // high-level commands exports.c = exports.create = require('./lib/create.js') exports.r = exports.replace = require('./lib/replace.js') exports.t = exports.list = require('./lib/list.js') exports.u = exports.update = require('./lib/update.js') exports.x = exports.extract = require('./lib/extract.js') // classes exports.Pack = require('./lib/pack.js') exports.Unpack = require('./lib/unpack.js') exports.Parse = require('./lib/parse.js') exports.ReadEntry = require('./lib/read-entry.js') exports.WriteEntry = require('./lib/write-entry.js') exports.Header = require('./lib/header.js') exports.Pax = require('./lib/pax.js') exports.types = require('./lib/types.js') node-tar-4.4.6/lib/000077500000000000000000000000001333044642000140035ustar00rootroot00000000000000node-tar-4.4.6/lib/buffer.js000066400000000000000000000004331333044642000156120ustar00rootroot00000000000000'use strict' // Buffer in node 4.x < 4.5.0 doesn't have working Buffer.from // or Buffer.alloc, and Buffer in node 10 deprecated the ctor. // .M, this is fine .\^/M.. let B = Buffer /* istanbul ignore next */ if (!B.alloc) { B = require('safe-buffer').Buffer } module.exports = B node-tar-4.4.6/lib/create.js000066400000000000000000000045061333044642000156110ustar00rootroot00000000000000'use strict' // tar -c const hlo = require('./high-level-opt.js') const Pack = require('./pack.js') const fs = require('fs') const fsm = require('fs-minipass') const t = require('./list.js') const path = require('path') const c = module.exports = (opt_, files, cb) => { if (typeof files === 'function') cb = files if (Array.isArray(opt_)) files = opt_, opt_ = {} if (!files || !Array.isArray(files) || !files.length) throw new TypeError('no files or directories specified') files = Array.from(files) const opt = hlo(opt_) if (opt.sync && typeof cb === 'function') throw new TypeError('callback not supported for sync tar functions') if (!opt.file && typeof cb === 'function') throw new TypeError('callback only supported with file option') return opt.file && opt.sync ? createFileSync(opt, files) : opt.file ? createFile(opt, files, cb) : opt.sync ? createSync(opt, files) : create(opt, files) } const createFileSync = (opt, files) => { const p = new Pack.Sync(opt) const stream = new fsm.WriteStreamSync(opt.file, { mode: opt.mode || 0o666 }) p.pipe(stream) addFilesSync(p, files) } const createFile = (opt, files, cb) => { const p = new Pack(opt) const stream = new fsm.WriteStream(opt.file, { mode: opt.mode || 0o666 }) p.pipe(stream) const promise = new Promise((res, rej) => { stream.on('error', rej) stream.on('close', res) p.on('error', rej) }) addFilesAsync(p, files) return cb ? promise.then(cb, cb) : promise } const addFilesSync = (p, files) => { files.forEach(file => { if (file.charAt(0) === '@') t({ file: path.resolve(p.cwd, file.substr(1)), sync: true, noResume: true, onentry: entry => p.add(entry) }) else p.add(file) }) p.end() } const addFilesAsync = (p, files) => { while (files.length) { const file = files.shift() if (file.charAt(0) === '@') return t({ file: path.resolve(p.cwd, file.substr(1)), noResume: true, onentry: entry => p.add(entry) }).then(_ => addFilesAsync(p, files)) else p.add(file) } p.end() } const createSync = (opt, files) => { const p = new Pack.Sync(opt) addFilesSync(p, files) return p } const create = (opt, files) => { const p = new Pack(opt) addFilesAsync(p, files) return p } node-tar-4.4.6/lib/extract.js000066400000000000000000000054101333044642000160130ustar00rootroot00000000000000'use strict' // tar -x const hlo = require('./high-level-opt.js') const Unpack = require('./unpack.js') const fs = require('fs') const fsm = require('fs-minipass') const path = require('path') const x = module.exports = (opt_, files, cb) => { if (typeof opt_ === 'function') cb = opt_, files = null, opt_ = {} else if (Array.isArray(opt_)) files = opt_, opt_ = {} if (typeof files === 'function') cb = files, files = null if (!files) files = [] else files = Array.from(files) const opt = hlo(opt_) if (opt.sync && typeof cb === 'function') throw new TypeError('callback not supported for sync tar functions') if (!opt.file && typeof cb === 'function') throw new TypeError('callback only supported with file option') if (files.length) filesFilter(opt, files) return opt.file && opt.sync ? extractFileSync(opt) : opt.file ? extractFile(opt, cb) : opt.sync ? extractSync(opt) : extract(opt) } // construct a filter that limits the file entries listed // include child entries if a dir is included const filesFilter = (opt, files) => { const map = new Map(files.map(f => [f.replace(/\/+$/, ''), true])) const filter = opt.filter const mapHas = (file, r) => { const root = r || path.parse(file).root || '.' const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path.dirname(file), root) map.set(file, ret) return ret } opt.filter = filter ? (file, entry) => filter(file, entry) && mapHas(file.replace(/\/+$/, '')) : file => mapHas(file.replace(/\/+$/, '')) } const extractFileSync = opt => { const u = new Unpack.Sync(opt) const file = opt.file let threw = true let fd const stat = fs.statSync(file) // This trades a zero-byte read() syscall for a stat // However, it will usually result in less memory allocation const readSize = opt.maxReadSize || 16*1024*1024 const stream = new fsm.ReadStreamSync(file, { readSize: readSize, size: stat.size }) stream.pipe(u) } const extractFile = (opt, cb) => { const u = new Unpack(opt) const readSize = opt.maxReadSize || 16*1024*1024 const file = opt.file const p = new Promise((resolve, reject) => { u.on('error', reject) u.on('close', resolve) // This trades a zero-byte read() syscall for a stat // However, it will usually result in less memory allocation fs.stat(file, (er, stat) => { if (er) reject(er) else { const stream = new fsm.ReadStream(file, { readSize: readSize, size: stat.size }) stream.on('error', reject) stream.pipe(u) } }) }) return cb ? p.then(cb, cb) : p } const extractSync = opt => { return new Unpack.Sync(opt) } const extract = opt => { return new Unpack(opt) } node-tar-4.4.6/lib/header.js000066400000000000000000000215241333044642000155750ustar00rootroot00000000000000'use strict' // parse a 512-byte header block to a data object, or vice-versa // encode returns `true` if a pax extended header is needed, because // the data could not be faithfully encoded in a simple header. // (Also, check header.needPax to see if it needs a pax header.) const Buffer = require('./buffer.js') const types = require('./types.js') const pathModule = require('path').posix const large = require('./large-numbers.js') const SLURP = Symbol('slurp') const TYPE = Symbol('type') class Header { constructor (data, off, ex, gex) { this.cksumValid = false this.needPax = false this.nullBlock = false this.block = null this.path = null this.mode = null this.uid = null this.gid = null this.size = null this.mtime = null this.cksum = null this[TYPE] = '0' this.linkpath = null this.uname = null this.gname = null this.devmaj = 0 this.devmin = 0 this.atime = null this.ctime = null if (Buffer.isBuffer(data)) this.decode(data, off || 0, ex, gex) else if (data) this.set(data) } decode (buf, off, ex, gex) { if (!off) off = 0 if (!buf || !(buf.length >= off + 512)) throw new Error('need 512 bytes for header') this.path = decString(buf, off, 100) this.mode = decNumber(buf, off + 100, 8) this.uid = decNumber(buf, off + 108, 8) this.gid = decNumber(buf, off + 116, 8) this.size = decNumber(buf, off + 124, 12) this.mtime = decDate(buf, off + 136, 12) this.cksum = decNumber(buf, off + 148, 12) // if we have extended or global extended headers, apply them now // See https://github.com/npm/node-tar/pull/187 this[SLURP](ex) this[SLURP](gex, true) // old tar versions marked dirs as a file with a trailing / this[TYPE] = decString(buf, off + 156, 1) if (this[TYPE] === '') this[TYPE] = '0' if (this[TYPE] === '0' && this.path.substr(-1) === '/') this[TYPE] = '5' // tar implementations sometimes incorrectly put the stat(dir).size // as the size in the tarball, even though Directory entries are // not able to have any body at all. In the very rare chance that // it actually DOES have a body, we weren't going to do anything with // it anyway, and it'll just be a warning about an invalid header. if (this[TYPE] === '5') this.size = 0 this.linkpath = decString(buf, off + 157, 100) if (buf.slice(off + 257, off + 265).toString() === 'ustar\u000000') { this.uname = decString(buf, off + 265, 32) this.gname = decString(buf, off + 297, 32) this.devmaj = decNumber(buf, off + 329, 8) this.devmin = decNumber(buf, off + 337, 8) if (buf[off + 475] !== 0) { // definitely a prefix, definitely >130 chars. const prefix = decString(buf, off + 345, 155) this.path = prefix + '/' + this.path } else { const prefix = decString(buf, off + 345, 130) if (prefix) this.path = prefix + '/' + this.path this.atime = decDate(buf, off + 476, 12) this.ctime = decDate(buf, off + 488, 12) } } let sum = 8 * 0x20 for (let i = off; i < off + 148; i++) { sum += buf[i] } for (let i = off + 156; i < off + 512; i++) { sum += buf[i] } this.cksumValid = sum === this.cksum if (this.cksum === null && sum === 8 * 0x20) this.nullBlock = true } [SLURP] (ex, global) { for (let k in ex) { // we slurp in everything except for the path attribute in // a global extended header, because that's weird. if (ex[k] !== null && ex[k] !== undefined && !(global && k === 'path')) this[k] = ex[k] } } encode (buf, off) { if (!buf) { buf = this.block = Buffer.alloc(512) off = 0 } if (!off) off = 0 if (!(buf.length >= off + 512)) throw new Error('need 512 bytes for header') const prefixSize = this.ctime || this.atime ? 130 : 155 const split = splitPrefix(this.path || '', prefixSize) const path = split[0] const prefix = split[1] this.needPax = split[2] this.needPax = encString(buf, off, 100, path) || this.needPax this.needPax = encNumber(buf, off + 100, 8, this.mode) || this.needPax this.needPax = encNumber(buf, off + 108, 8, this.uid) || this.needPax this.needPax = encNumber(buf, off + 116, 8, this.gid) || this.needPax this.needPax = encNumber(buf, off + 124, 12, this.size) || this.needPax this.needPax = encDate(buf, off + 136, 12, this.mtime) || this.needPax buf[off + 156] = this[TYPE].charCodeAt(0) this.needPax = encString(buf, off + 157, 100, this.linkpath) || this.needPax buf.write('ustar\u000000', off + 257, 8) this.needPax = encString(buf, off + 265, 32, this.uname) || this.needPax this.needPax = encString(buf, off + 297, 32, this.gname) || this.needPax this.needPax = encNumber(buf, off + 329, 8, this.devmaj) || this.needPax this.needPax = encNumber(buf, off + 337, 8, this.devmin) || this.needPax this.needPax = encString(buf, off + 345, prefixSize, prefix) || this.needPax if (buf[off + 475] !== 0) this.needPax = encString(buf, off + 345, 155, prefix) || this.needPax else { this.needPax = encString(buf, off + 345, 130, prefix) || this.needPax this.needPax = encDate(buf, off + 476, 12, this.atime) || this.needPax this.needPax = encDate(buf, off + 488, 12, this.ctime) || this.needPax } let sum = 8 * 0x20 for (let i = off; i < off + 148; i++) { sum += buf[i] } for (let i = off + 156; i < off + 512; i++) { sum += buf[i] } this.cksum = sum encNumber(buf, off + 148, 8, this.cksum) this.cksumValid = true return this.needPax } set (data) { for (let i in data) { if (data[i] !== null && data[i] !== undefined) this[i] = data[i] } } get type () { return types.name.get(this[TYPE]) || this[TYPE] } get typeKey () { return this[TYPE] } set type (type) { if (types.code.has(type)) this[TYPE] = types.code.get(type) else this[TYPE] = type } } const splitPrefix = (p, prefixSize) => { const pathSize = 100 let pp = p let prefix = '' let ret const root = pathModule.parse(p).root || '.' if (Buffer.byteLength(pp) < pathSize) ret = [pp, prefix, false] else { // first set prefix to the dir, and path to the base prefix = pathModule.dirname(pp) pp = pathModule.basename(pp) do { // both fit! if (Buffer.byteLength(pp) <= pathSize && Buffer.byteLength(prefix) <= prefixSize) ret = [pp, prefix, false] // prefix fits in prefix, but path doesn't fit in path else if (Buffer.byteLength(pp) > pathSize && Buffer.byteLength(prefix) <= prefixSize) ret = [pp.substr(0, pathSize - 1), prefix, true] else { // make path take a bit from prefix pp = pathModule.join(pathModule.basename(prefix), pp) prefix = pathModule.dirname(prefix) } } while (prefix !== root && !ret) // at this point, found no resolution, just truncate if (!ret) ret = [p.substr(0, pathSize - 1), '', true] } return ret } const decString = (buf, off, size) => buf.slice(off, off + size).toString('utf8').replace(/\0.*/, '') const decDate = (buf, off, size) => numToDate(decNumber(buf, off, size)) const numToDate = num => num === null ? null : new Date(num * 1000) const decNumber = (buf, off, size) => buf[off] & 0x80 ? large.parse(buf.slice(off, off + size)) : decSmallNumber(buf, off, size) const nanNull = value => isNaN(value) ? null : value const decSmallNumber = (buf, off, size) => nanNull(parseInt( buf.slice(off, off + size) .toString('utf8').replace(/\0.*$/, '').trim(), 8)) // the maximum encodable as a null-terminated octal, by field size const MAXNUM = { 12: 0o77777777777, 8 : 0o7777777 } const encNumber = (buf, off, size, number) => number === null ? false : number > MAXNUM[size] || number < 0 ? (large.encode(number, buf.slice(off, off + size)), true) : (encSmallNumber(buf, off, size, number), false) const encSmallNumber = (buf, off, size, number) => buf.write(octalString(number, size), off, size, 'ascii') const octalString = (number, size) => padOctal(Math.floor(number).toString(8), size) const padOctal = (string, size) => (string.length === size - 1 ? string : new Array(size - string.length - 1).join('0') + string + ' ') + '\0' const encDate = (buf, off, size, date) => date === null ? false : encNumber(buf, off, size, date.getTime() / 1000) // enough to fill the longest string we've got const NULLS = new Array(156).join('\0') // pad with nulls, return true if it's longer or non-ascii const encString = (buf, off, size, string) => string === null ? false : (buf.write(string + NULLS, off, size, 'utf8'), string.length !== Buffer.byteLength(string) || string.length > size) module.exports = Header node-tar-4.4.6/lib/high-level-opt.js000066400000000000000000000014041333044642000171640ustar00rootroot00000000000000'use strict' // turn tar(1) style args like `C` into the more verbose things like `cwd` const argmap = new Map([ ['C', 'cwd'], ['f', 'file'], ['z', 'gzip'], ['P', 'preservePaths'], ['U', 'unlink'], ['strip-components', 'strip'], ['stripComponents', 'strip'], ['keep-newer', 'newer'], ['keepNewer', 'newer'], ['keep-newer-files', 'newer'], ['keepNewerFiles', 'newer'], ['k', 'keep'], ['keep-existing', 'keep'], ['keepExisting', 'keep'], ['m', 'noMtime'], ['no-mtime', 'noMtime'], ['p', 'preserveOwner'], ['L', 'follow'], ['h', 'follow'] ]) const parse = module.exports = opt => opt ? Object.keys(opt).map(k => [ argmap.has(k) ? argmap.get(k) : k, opt[k] ]).reduce((set, kv) => (set[kv[0]] = kv[1], set), Object.create(null)) : {} node-tar-4.4.6/lib/large-numbers.js000066400000000000000000000036721333044642000171140ustar00rootroot00000000000000'use strict' // Tar can encode large and negative numbers using a leading byte of // 0xff for negative, and 0x80 for positive. The trailing byte in the // section will always be 0x20, or in some implementations 0x00. // this module encodes and decodes these things. const encode = exports.encode = (num, buf) => { buf[buf.length - 1] = 0x20 if (num < 0) encodeNegative(num, buf) else encodePositive(num, buf) return buf } const encodePositive = (num, buf) => { buf[0] = 0x80 for (var i = buf.length - 2; i > 0; i--) { if (num === 0) buf[i] = 0 else { buf[i] = num % 0x100 num = Math.floor(num / 0x100) } } } const encodeNegative = (num, buf) => { buf[0] = 0xff var flipped = false num = num * -1 for (var i = buf.length - 2; i > 0; i--) { var byte if (num === 0) byte = 0 else { byte = num % 0x100 num = Math.floor(num / 0x100) } if (flipped) buf[i] = onesComp(byte) else if (byte === 0) buf[i] = 0 else { flipped = true buf[i] = twosComp(byte) } } } const parse = exports.parse = (buf) => { var post = buf[buf.length - 1] var pre = buf[0] return pre === 0x80 ? pos(buf.slice(1, buf.length - 1)) : twos(buf.slice(1, buf.length - 1)) } const twos = (buf) => { var len = buf.length var sum = 0 var flipped = false for (var i = len - 1; i > -1; i--) { var byte = buf[i] var f if (flipped) f = onesComp(byte) else if (byte === 0) f = byte else { flipped = true f = twosComp(byte) } if (f !== 0) sum += f * Math.pow(256, len - i - 1) } return sum * -1 } const pos = (buf) => { var len = buf.length var sum = 0 for (var i = len - 1; i > -1; i--) { var byte = buf[i] if (byte !== 0) sum += byte * Math.pow(256, len - i - 1) } return sum } const onesComp = byte => (0xff ^ byte) & 0xff const twosComp = byte => ((0xff ^ byte) + 1) & 0xff node-tar-4.4.6/lib/list.js000066400000000000000000000061201333044642000153130ustar00rootroot00000000000000'use strict' const Buffer = require('./buffer.js') // XXX: This shares a lot in common with extract.js // maybe some DRY opportunity here? // tar -t const hlo = require('./high-level-opt.js') const Parser = require('./parse.js') const fs = require('fs') const fsm = require('fs-minipass') const path = require('path') const t = module.exports = (opt_, files, cb) => { if (typeof opt_ === 'function') cb = opt_, files = null, opt_ = {} else if (Array.isArray(opt_)) files = opt_, opt_ = {} if (typeof files === 'function') cb = files, files = null if (!files) files = [] else files = Array.from(files) const opt = hlo(opt_) if (opt.sync && typeof cb === 'function') throw new TypeError('callback not supported for sync tar functions') if (!opt.file && typeof cb === 'function') throw new TypeError('callback only supported with file option') if (files.length) filesFilter(opt, files) if (!opt.noResume) onentryFunction(opt) return opt.file && opt.sync ? listFileSync(opt) : opt.file ? listFile(opt, cb) : list(opt) } const onentryFunction = opt => { const onentry = opt.onentry opt.onentry = onentry ? e => { onentry(e) e.resume() } : e => e.resume() } // construct a filter that limits the file entries listed // include child entries if a dir is included const filesFilter = (opt, files) => { const map = new Map(files.map(f => [f.replace(/\/+$/, ''), true])) const filter = opt.filter const mapHas = (file, r) => { const root = r || path.parse(file).root || '.' const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path.dirname(file), root) map.set(file, ret) return ret } opt.filter = filter ? (file, entry) => filter(file, entry) && mapHas(file.replace(/\/+$/, '')) : file => mapHas(file.replace(/\/+$/, '')) } const listFileSync = opt => { const p = list(opt) const file = opt.file let threw = true let fd try { const stat = fs.statSync(file) const readSize = opt.maxReadSize || 16*1024*1024 if (stat.size < readSize) { p.end(fs.readFileSync(file)) } else { let pos = 0 const buf = Buffer.allocUnsafe(readSize) fd = fs.openSync(file, 'r') while (pos < stat.size) { let bytesRead = fs.readSync(fd, buf, 0, readSize, pos) pos += bytesRead p.write(buf.slice(0, bytesRead)) } p.end() } threw = false } finally { if (threw && fd) try { fs.closeSync(fd) } catch (er) {} } } const listFile = (opt, cb) => { const parse = new Parser(opt) const readSize = opt.maxReadSize || 16*1024*1024 const file = opt.file const p = new Promise((resolve, reject) => { parse.on('error', reject) parse.on('end', resolve) fs.stat(file, (er, stat) => { if (er) reject(er) else { const stream = new fsm.ReadStream(file, { readSize: readSize, size: stat.size }) stream.on('error', reject) stream.pipe(parse) } }) }) return cb ? p.then(cb, cb) : p } const list = opt => new Parser(opt) node-tar-4.4.6/lib/mkdir.js000066400000000000000000000120741333044642000154530ustar00rootroot00000000000000'use strict' // wrapper around mkdirp for tar's needs. // TODO: This should probably be a class, not functionally // passing around state in a gazillion args. const mkdirp = require('mkdirp') const fs = require('fs') const path = require('path') const chownr = require('chownr') class SymlinkError extends Error { constructor (symlink, path) { super('Cannot extract through symbolic link') this.path = path this.symlink = symlink } get name () { return 'SylinkError' } } class CwdError extends Error { constructor (path, code) { super(code + ': Cannot cd into \'' + path + '\'') this.path = path this.code = code } get name () { return 'CwdError' } } const mkdir = module.exports = (dir, opt, cb) => { // if there's any overlap between mask and mode, // then we'll need an explicit chmod const umask = opt.umask const mode = opt.mode | 0o0700 const needChmod = (mode & umask) !== 0 const uid = opt.uid const gid = opt.gid const doChown = typeof uid === 'number' && typeof gid === 'number' && ( uid !== opt.processUid || gid !== opt.processGid ) const preserve = opt.preserve const unlink = opt.unlink const cache = opt.cache const cwd = opt.cwd const done = (er, created) => { if (er) cb(er) else { cache.set(dir, true) if (created && doChown) chownr(created, uid, gid, er => done(er)) else if (needChmod) fs.chmod(dir, mode, cb) else cb() } } if (cache && cache.get(dir) === true) return done() if (dir === cwd) return fs.lstat(dir, (er, st) => { if (er || !st.isDirectory()) er = new CwdError(dir, er && er.code || 'ENOTDIR') done(er) }) if (preserve) return mkdirp(dir, mode, done) const sub = path.relative(cwd, dir) const parts = sub.split(/\/|\\/) mkdir_(cwd, parts, mode, cache, unlink, cwd, null, done) } const mkdir_ = (base, parts, mode, cache, unlink, cwd, created, cb) => { if (!parts.length) return cb(null, created) const p = parts.shift() const part = base + '/' + p if (cache.get(part)) return mkdir_(part, parts, mode, cache, unlink, cwd, created, cb) fs.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb)) } const onmkdir = (part, parts, mode, cache, unlink, cwd, created, cb) => er => { if (er) { if (er.path && path.dirname(er.path) === cwd && (er.code === 'ENOTDIR' || er.code === 'ENOENT')) return cb(new CwdError(cwd, er.code)) fs.lstat(part, (statEr, st) => { if (statEr) cb(statEr) else if (st.isDirectory()) mkdir_(part, parts, mode, cache, unlink, cwd, created, cb) else if (unlink) fs.unlink(part, er => { if (er) return cb(er) fs.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb)) }) else if (st.isSymbolicLink()) return cb(new SymlinkError(part, part + '/' + parts.join('/'))) else cb(er) }) } else { created = created || part mkdir_(part, parts, mode, cache, unlink, cwd, created, cb) } } const mkdirSync = module.exports.sync = (dir, opt) => { // if there's any overlap between mask and mode, // then we'll need an explicit chmod const umask = opt.umask const mode = opt.mode | 0o0700 const needChmod = (mode & umask) !== 0 const uid = opt.uid const gid = opt.gid const doChown = typeof uid === 'number' && typeof gid === 'number' && ( uid !== opt.processUid || gid !== opt.processGid ) const preserve = opt.preserve const unlink = opt.unlink const cache = opt.cache const cwd = opt.cwd const done = (created) => { cache.set(dir, true) if (created && doChown) chownr.sync(created, uid, gid) if (needChmod) fs.chmodSync(dir, mode) } if (cache && cache.get(dir) === true) return done() if (dir === cwd) { let ok = false let code = 'ENOTDIR' try { ok = fs.lstatSync(dir).isDirectory() } catch (er) { code = er.code } finally { if (!ok) throw new CwdError(dir, code) } done() return } if (preserve) return done(mkdirp.sync(dir, mode)) const sub = path.relative(cwd, dir) const parts = sub.split(/\/|\\/) let created = null for (let p = parts.shift(), part = cwd; p && (part += '/' + p); p = parts.shift()) { if (cache.get(part)) continue try { fs.mkdirSync(part, mode) created = created || part cache.set(part, true) } catch (er) { if (er.path && path.dirname(er.path) === cwd && (er.code === 'ENOTDIR' || er.code === 'ENOENT')) return new CwdError(cwd, er.code) const st = fs.lstatSync(part) if (st.isDirectory()) { cache.set(part, true) continue } else if (unlink) { fs.unlinkSync(part) fs.mkdirSync(part, mode) created = created || part cache.set(part, true) continue } else if (st.isSymbolicLink()) return new SymlinkError(part, part + '/' + parts.join('/')) } } return done(created) } node-tar-4.4.6/lib/mode-fix.js000066400000000000000000000004251333044642000160520ustar00rootroot00000000000000'use strict' module.exports = (mode, isDir) => { mode &= 0o7777 // if dirs are readable, then they should be listable if (isDir) { if (mode & 0o400) mode |= 0o100 if (mode & 0o40) mode |= 0o10 if (mode & 0o4) mode |= 0o1 } return mode } node-tar-4.4.6/lib/pack.js000066400000000000000000000226161333044642000152660ustar00rootroot00000000000000'use strict' const Buffer = require('./buffer.js') // A readable tar stream creator // Technically, this is a transform stream that you write paths into, // and tar format comes out of. // The `add()` method is like `write()` but returns this, // and end() return `this` as well, so you can // do `new Pack(opt).add('files').add('dir').end().pipe(output) // You could also do something like: // streamOfPaths().pipe(new Pack()).pipe(new fs.WriteStream('out.tar')) class PackJob { constructor (path, absolute) { this.path = path || './' this.absolute = absolute this.entry = null this.stat = null this.readdir = null this.pending = false this.ignore = false this.piped = false } } const MiniPass = require('minipass') const zlib = require('minizlib') const ReadEntry = require('./read-entry.js') const WriteEntry = require('./write-entry.js') const WriteEntrySync = WriteEntry.Sync const WriteEntryTar = WriteEntry.Tar const Yallist = require('yallist') const EOF = Buffer.alloc(1024) const ONSTAT = Symbol('onStat') const ENDED = Symbol('ended') const QUEUE = Symbol('queue') const CURRENT = Symbol('current') const PROCESS = Symbol('process') const PROCESSING = Symbol('processing') const PROCESSJOB = Symbol('processJob') const JOBS = Symbol('jobs') const JOBDONE = Symbol('jobDone') const ADDFSENTRY = Symbol('addFSEntry') const ADDTARENTRY = Symbol('addTarEntry') const STAT = Symbol('stat') const READDIR = Symbol('readdir') const ONREADDIR = Symbol('onreaddir') const PIPE = Symbol('pipe') const ENTRY = Symbol('entry') const ENTRYOPT = Symbol('entryOpt') const WRITEENTRYCLASS = Symbol('writeEntryClass') const WRITE = Symbol('write') const ONDRAIN = Symbol('ondrain') const fs = require('fs') const path = require('path') const warner = require('./warn-mixin.js') const Pack = warner(class Pack extends MiniPass { constructor (opt) { super(opt) opt = opt || Object.create(null) this.opt = opt this.cwd = opt.cwd || process.cwd() this.maxReadSize = opt.maxReadSize this.preservePaths = !!opt.preservePaths this.strict = !!opt.strict this.noPax = !!opt.noPax this.prefix = (opt.prefix || '').replace(/(\\|\/)+$/, '') this.linkCache = opt.linkCache || new Map() this.statCache = opt.statCache || new Map() this.readdirCache = opt.readdirCache || new Map() this[WRITEENTRYCLASS] = WriteEntry if (typeof opt.onwarn === 'function') this.on('warn', opt.onwarn) this.zip = null if (opt.gzip) { if (typeof opt.gzip !== 'object') opt.gzip = {} this.zip = new zlib.Gzip(opt.gzip) this.zip.on('data', chunk => super.write(chunk)) this.zip.on('end', _ => super.end()) this.zip.on('drain', _ => this[ONDRAIN]()) this.on('resume', _ => this.zip.resume()) } else this.on('drain', this[ONDRAIN]) this.portable = !!opt.portable this.noDirRecurse = !!opt.noDirRecurse this.follow = !!opt.follow this.noMtime = !!opt.noMtime this.mtime = opt.mtime || null this.filter = typeof opt.filter === 'function' ? opt.filter : _ => true this[QUEUE] = new Yallist this[JOBS] = 0 this.jobs = +opt.jobs || 4 this[PROCESSING] = false this[ENDED] = false } [WRITE] (chunk) { return super.write(chunk) } add (path) { this.write(path) return this } end (path) { if (path) this.write(path) this[ENDED] = true this[PROCESS]() return this } write (path) { if (this[ENDED]) throw new Error('write after end') if (path instanceof ReadEntry) this[ADDTARENTRY](path) else this[ADDFSENTRY](path) return this.flowing } [ADDTARENTRY] (p) { const absolute = path.resolve(this.cwd, p.path) if (this.prefix) p.path = this.prefix + '/' + p.path.replace(/^\.(\/+|$)/, '') // in this case, we don't have to wait for the stat if (!this.filter(p.path, p)) p.resume() else { const job = new PackJob(p.path, absolute, false) job.entry = new WriteEntryTar(p, this[ENTRYOPT](job)) job.entry.on('end', _ => this[JOBDONE](job)) this[JOBS] += 1 this[QUEUE].push(job) } this[PROCESS]() } [ADDFSENTRY] (p) { const absolute = path.resolve(this.cwd, p) if (this.prefix) p = this.prefix + '/' + p.replace(/^\.(\/+|$)/, '') this[QUEUE].push(new PackJob(p, absolute)) this[PROCESS]() } [STAT] (job) { job.pending = true this[JOBS] += 1 const stat = this.follow ? 'stat' : 'lstat' fs[stat](job.absolute, (er, stat) => { job.pending = false this[JOBS] -= 1 if (er) this.emit('error', er) else this[ONSTAT](job, stat) }) } [ONSTAT] (job, stat) { this.statCache.set(job.absolute, stat) job.stat = stat // now we have the stat, we can filter it. if (!this.filter(job.path, stat)) job.ignore = true this[PROCESS]() } [READDIR] (job) { job.pending = true this[JOBS] += 1 fs.readdir(job.absolute, (er, entries) => { job.pending = false this[JOBS] -= 1 if (er) return this.emit('error', er) this[ONREADDIR](job, entries) }) } [ONREADDIR] (job, entries) { this.readdirCache.set(job.absolute, entries) job.readdir = entries this[PROCESS]() } [PROCESS] () { if (this[PROCESSING]) return this[PROCESSING] = true for (let w = this[QUEUE].head; w !== null && this[JOBS] < this.jobs; w = w.next) { this[PROCESSJOB](w.value) if (w.value.ignore) { const p = w.next this[QUEUE].removeNode(w) w.next = p } } this[PROCESSING] = false if (this[ENDED] && !this[QUEUE].length && this[JOBS] === 0) { if (this.zip) this.zip.end(EOF) else { super.write(EOF) super.end() } } } get [CURRENT] () { return this[QUEUE] && this[QUEUE].head && this[QUEUE].head.value } [JOBDONE] (job) { this[QUEUE].shift() this[JOBS] -= 1 this[PROCESS]() } [PROCESSJOB] (job) { if (job.pending) return if (job.entry) { if (job === this[CURRENT] && !job.piped) this[PIPE](job) return } if (!job.stat) { if (this.statCache.has(job.absolute)) this[ONSTAT](job, this.statCache.get(job.absolute)) else this[STAT](job) } if (!job.stat) return // filtered out! if (job.ignore) return if (!this.noDirRecurse && job.stat.isDirectory() && !job.readdir) { if (this.readdirCache.has(job.absolute)) this[ONREADDIR](job, this.readdirCache.get(job.absolute)) else this[READDIR](job) if (!job.readdir) return } // we know it doesn't have an entry, because that got checked above job.entry = this[ENTRY](job) if (!job.entry) { job.ignore = true return } if (job === this[CURRENT] && !job.piped) this[PIPE](job) } [ENTRYOPT] (job) { return { onwarn: (msg, data) => { this.warn(msg, data) }, noPax: this.noPax, cwd: this.cwd, absolute: job.absolute, preservePaths: this.preservePaths, maxReadSize: this.maxReadSize, strict: this.strict, portable: this.portable, linkCache: this.linkCache, statCache: this.statCache, noMtime: this.noMtime, mtime: this.mtime } } [ENTRY] (job) { this[JOBS] += 1 try { return new this[WRITEENTRYCLASS](job.path, this[ENTRYOPT](job)) .on('end', () => this[JOBDONE](job)) .on('error', er => this.emit('error', er)) } catch (er) { this.emit('error', er) } } [ONDRAIN] () { if (this[CURRENT] && this[CURRENT].entry) this[CURRENT].entry.resume() } // like .pipe() but using super, because our write() is special [PIPE] (job) { job.piped = true if (job.readdir) job.readdir.forEach(entry => { const p = this.prefix ? job.path.slice(this.prefix.length + 1) || './' : job.path const base = p === './' ? '' : p.replace(/\/*$/, '/') this[ADDFSENTRY](base + entry) }) const source = job.entry const zip = this.zip if (zip) source.on('data', chunk => { if (!zip.write(chunk)) source.pause() }) else source.on('data', chunk => { if (!super.write(chunk)) source.pause() }) } pause () { if (this.zip) this.zip.pause() return super.pause() } }) class PackSync extends Pack { constructor (opt) { super(opt) this[WRITEENTRYCLASS] = WriteEntrySync } // pause/resume are no-ops in sync streams. pause () {} resume () {} [STAT] (job) { const stat = this.follow ? 'statSync' : 'lstatSync' this[ONSTAT](job, fs[stat](job.absolute)) } [READDIR] (job, stat) { this[ONREADDIR](job, fs.readdirSync(job.absolute)) } // gotta get it all in this tick [PIPE] (job) { const source = job.entry const zip = this.zip if (job.readdir) job.readdir.forEach(entry => { const p = this.prefix ? job.path.slice(this.prefix.length + 1) || './' : job.path const base = p === './' ? '' : p.replace(/\/*$/, '/') this[ADDFSENTRY](base + entry) }) if (zip) source.on('data', chunk => { zip.write(chunk) }) else source.on('data', chunk => { super[WRITE](chunk) }) } } Pack.Sync = PackSync module.exports = Pack node-tar-4.4.6/lib/parse.js000066400000000000000000000273541333044642000154660ustar00rootroot00000000000000'use strict' // this[BUFFER] is the remainder of a chunk if we're waiting for // the full 512 bytes of a header to come in. We will Buffer.concat() // it to the next write(), which is a mem copy, but a small one. // // this[QUEUE] is a Yallist of entries that haven't been emitted // yet this can only get filled up if the user keeps write()ing after // a write() returns false, or does a write() with more than one entry // // We don't buffer chunks, we always parse them and either create an // entry, or push it into the active entry. The ReadEntry class knows // to throw data away if .ignore=true // // Shift entry off the buffer when it emits 'end', and emit 'entry' for // the next one in the list. // // At any time, we're pushing body chunks into the entry at WRITEENTRY, // and waiting for 'end' on the entry at READENTRY // // ignored entries get .resume() called on them straight away const warner = require('./warn-mixin.js') const path = require('path') const Header = require('./header.js') const EE = require('events') const Yallist = require('yallist') const maxMetaEntrySize = 1024 * 1024 const Entry = require('./read-entry.js') const Pax = require('./pax.js') const zlib = require('minizlib') const gzipHeader = Buffer.from([0x1f, 0x8b]) const STATE = Symbol('state') const WRITEENTRY = Symbol('writeEntry') const READENTRY = Symbol('readEntry') const NEXTENTRY = Symbol('nextEntry') const PROCESSENTRY = Symbol('processEntry') const EX = Symbol('extendedHeader') const GEX = Symbol('globalExtendedHeader') const META = Symbol('meta') const EMITMETA = Symbol('emitMeta') const BUFFER = Symbol('buffer') const QUEUE = Symbol('queue') const ENDED = Symbol('ended') const EMITTEDEND = Symbol('emittedEnd') const EMIT = Symbol('emit') const UNZIP = Symbol('unzip') const CONSUMECHUNK = Symbol('consumeChunk') const CONSUMECHUNKSUB = Symbol('consumeChunkSub') const CONSUMEBODY = Symbol('consumeBody') const CONSUMEMETA = Symbol('consumeMeta') const CONSUMEHEADER = Symbol('consumeHeader') const CONSUMING = Symbol('consuming') const BUFFERCONCAT = Symbol('bufferConcat') const MAYBEEND = Symbol('maybeEnd') const WRITING = Symbol('writing') const ABORTED = Symbol('aborted') const DONE = Symbol('onDone') const noop = _ => true module.exports = warner(class Parser extends EE { constructor (opt) { opt = opt || {} super(opt) if (opt.ondone) this.on(DONE, opt.ondone) else this.on(DONE, _ => { this.emit('prefinish') this.emit('finish') this.emit('end') this.emit('close') }) this.strict = !!opt.strict this.maxMetaEntrySize = opt.maxMetaEntrySize || maxMetaEntrySize this.filter = typeof opt.filter === 'function' ? opt.filter : noop // have to set this so that streams are ok piping into it this.writable = true this.readable = false this[QUEUE] = new Yallist() this[BUFFER] = null this[READENTRY] = null this[WRITEENTRY] = null this[STATE] = 'begin' this[META] = '' this[EX] = null this[GEX] = null this[ENDED] = false this[UNZIP] = null this[ABORTED] = false if (typeof opt.onwarn === 'function') this.on('warn', opt.onwarn) if (typeof opt.onentry === 'function') this.on('entry', opt.onentry) } [CONSUMEHEADER] (chunk, position) { const header = new Header(chunk, position, this[EX], this[GEX]) if (header.nullBlock) this[EMIT]('nullBlock') else if (!header.cksumValid) this.warn('invalid entry', header) else if (!header.path) this.warn('invalid: path is required', header) else { const type = header.type if (/^(Symbolic)?Link$/.test(type) && !header.linkpath) this.warn('invalid: linkpath required', header) else if (!/^(Symbolic)?Link$/.test(type) && header.linkpath) this.warn('invalid: linkpath forbidden', header) else { const entry = this[WRITEENTRY] = new Entry(header, this[EX], this[GEX]) if (entry.meta) { if (entry.size > this.maxMetaEntrySize) { entry.ignore = true this[EMIT]('ignoredEntry', entry) this[STATE] = 'ignore' } else if (entry.size > 0) { this[META] = '' entry.on('data', c => this[META] += c) this[STATE] = 'meta' } } else { this[EX] = null entry.ignore = entry.ignore || !this.filter(entry.path, entry) if (entry.ignore) { this[EMIT]('ignoredEntry', entry) this[STATE] = entry.remain ? 'ignore' : 'begin' } else { if (entry.remain) this[STATE] = 'body' else { this[STATE] = 'begin' entry.end() } if (!this[READENTRY]) { this[QUEUE].push(entry) this[NEXTENTRY]() } else this[QUEUE].push(entry) } } } } } [PROCESSENTRY] (entry) { let go = true if (!entry) { this[READENTRY] = null go = false } else if (Array.isArray(entry)) this.emit.apply(this, entry) else { this[READENTRY] = entry this.emit('entry', entry) if (!entry.emittedEnd) { entry.on('end', _ => this[NEXTENTRY]()) go = false } } return go } [NEXTENTRY] () { do {} while (this[PROCESSENTRY](this[QUEUE].shift())) if (!this[QUEUE].length) { // At this point, there's nothing in the queue, but we may have an // entry which is being consumed (readEntry). // If we don't, then we definitely can handle more data. // If we do, and either it's flowing, or it has never had any data // written to it, then it needs more. // The only other possibility is that it has returned false from a // write() call, so we wait for the next drain to continue. const re = this[READENTRY] const drainNow = !re || re.flowing || re.size === re.remain if (drainNow) { if (!this[WRITING]) this.emit('drain') } else re.once('drain', _ => this.emit('drain')) } } [CONSUMEBODY] (chunk, position) { // write up to but no more than writeEntry.blockRemain const entry = this[WRITEENTRY] const br = entry.blockRemain const c = (br >= chunk.length && position === 0) ? chunk : chunk.slice(position, position + br) entry.write(c) if (!entry.blockRemain) { this[STATE] = 'begin' this[WRITEENTRY] = null entry.end() } return c.length } [CONSUMEMETA] (chunk, position) { const entry = this[WRITEENTRY] const ret = this[CONSUMEBODY](chunk, position) // if we finished, then the entry is reset if (!this[WRITEENTRY]) this[EMITMETA](entry) return ret } [EMIT] (ev, data, extra) { if (!this[QUEUE].length && !this[READENTRY]) this.emit(ev, data, extra) else this[QUEUE].push([ev, data, extra]) } [EMITMETA] (entry) { this[EMIT]('meta', this[META]) switch (entry.type) { case 'ExtendedHeader': case 'OldExtendedHeader': this[EX] = Pax.parse(this[META], this[EX], false) break case 'GlobalExtendedHeader': this[GEX] = Pax.parse(this[META], this[GEX], true) break case 'NextFileHasLongPath': case 'OldGnuLongPath': this[EX] = this[EX] || Object.create(null) this[EX].path = this[META].replace(/\0.*/, '') break case 'NextFileHasLongLinkpath': this[EX] = this[EX] || Object.create(null) this[EX].linkpath = this[META].replace(/\0.*/, '') break /* istanbul ignore next */ default: throw new Error('unknown meta: ' + entry.type) } } abort (msg, error) { this[ABORTED] = true this.warn(msg, error) this.emit('abort', error) this.emit('error', error) } write (chunk) { if (this[ABORTED]) return // first write, might be gzipped if (this[UNZIP] === null && chunk) { if (this[BUFFER]) { chunk = Buffer.concat([this[BUFFER], chunk]) this[BUFFER] = null } if (chunk.length < gzipHeader.length) { this[BUFFER] = chunk return true } for (let i = 0; this[UNZIP] === null && i < gzipHeader.length; i++) { if (chunk[i] !== gzipHeader[i]) this[UNZIP] = false } if (this[UNZIP] === null) { const ended = this[ENDED] this[ENDED] = false this[UNZIP] = new zlib.Unzip() this[UNZIP].on('data', chunk => this[CONSUMECHUNK](chunk)) this[UNZIP].on('error', er => this.abort(er.message, er)) this[UNZIP].on('end', _ => { this[ENDED] = true this[CONSUMECHUNK]() }) this[WRITING] = true const ret = this[UNZIP][ended ? 'end' : 'write' ](chunk) this[WRITING] = false return ret } } this[WRITING] = true if (this[UNZIP]) this[UNZIP].write(chunk) else this[CONSUMECHUNK](chunk) this[WRITING] = false // return false if there's a queue, or if the current entry isn't flowing const ret = this[QUEUE].length ? false : this[READENTRY] ? this[READENTRY].flowing : true // if we have no queue, then that means a clogged READENTRY if (!ret && !this[QUEUE].length) this[READENTRY].once('drain', _ => this.emit('drain')) return ret } [BUFFERCONCAT] (c) { if (c && !this[ABORTED]) this[BUFFER] = this[BUFFER] ? Buffer.concat([this[BUFFER], c]) : c } [MAYBEEND] () { if (this[ENDED] && !this[EMITTEDEND] && !this[ABORTED] && !this[CONSUMING]) { this[EMITTEDEND] = true const entry = this[WRITEENTRY] if (entry && entry.blockRemain) { const have = this[BUFFER] ? this[BUFFER].length : 0 this.warn('Truncated input (needed ' + entry.blockRemain + ' more bytes, only ' + have + ' available)', entry) if (this[BUFFER]) entry.write(this[BUFFER]) entry.end() } this[EMIT](DONE) } } [CONSUMECHUNK] (chunk) { if (this[CONSUMING]) { this[BUFFERCONCAT](chunk) } else if (!chunk && !this[BUFFER]) { this[MAYBEEND]() } else { this[CONSUMING] = true if (this[BUFFER]) { this[BUFFERCONCAT](chunk) const c = this[BUFFER] this[BUFFER] = null this[CONSUMECHUNKSUB](c) } else { this[CONSUMECHUNKSUB](chunk) } while (this[BUFFER] && this[BUFFER].length >= 512 && !this[ABORTED]) { const c = this[BUFFER] this[BUFFER] = null this[CONSUMECHUNKSUB](c) } this[CONSUMING] = false } if (!this[BUFFER] || this[ENDED]) this[MAYBEEND]() } [CONSUMECHUNKSUB] (chunk) { // we know that we are in CONSUMING mode, so anything written goes into // the buffer. Advance the position and put any remainder in the buffer. let position = 0 let length = chunk.length while (position + 512 <= length && !this[ABORTED]) { switch (this[STATE]) { case 'begin': this[CONSUMEHEADER](chunk, position) position += 512 break case 'ignore': case 'body': position += this[CONSUMEBODY](chunk, position) break case 'meta': position += this[CONSUMEMETA](chunk, position) break /* istanbul ignore next */ default: throw new Error('invalid state: ' + this[STATE]) } } if (position < length) { if (this[BUFFER]) this[BUFFER] = Buffer.concat([chunk.slice(position), this[BUFFER]]) else this[BUFFER] = chunk.slice(position) } } end (chunk) { if (!this[ABORTED]) { if (this[UNZIP]) this[UNZIP].end(chunk) else { this[ENDED] = true this.write(chunk) } } } }) node-tar-4.4.6/lib/pax.js000066400000000000000000000077461333044642000151470ustar00rootroot00000000000000'use strict' const Buffer = require('./buffer.js') const Header = require('./header.js') const path = require('path') class Pax { constructor (obj, global) { this.atime = obj.atime || null this.charset = obj.charset || null this.comment = obj.comment || null this.ctime = obj.ctime || null this.gid = obj.gid || null this.gname = obj.gname || null this.linkpath = obj.linkpath || null this.mtime = obj.mtime || null this.path = obj.path || null this.size = obj.size || null this.uid = obj.uid || null this.uname = obj.uname || null this.dev = obj.dev || null this.ino = obj.ino || null this.nlink = obj.nlink || null this.global = global || false } encode () { const body = this.encodeBody() if (body === '') return null const bodyLen = Buffer.byteLength(body) // round up to 512 bytes // add 512 for header const bufLen = 512 * Math.ceil(1 + bodyLen / 512) const buf = Buffer.allocUnsafe(bufLen) // 0-fill the header section, it might not hit every field for (let i = 0; i < 512; i++) { buf[i] = 0 } new Header({ // XXX split the path // then the path should be PaxHeader + basename, but less than 99, // prepend with the dirname path: ('PaxHeader/' + path.basename(this.path)).slice(0, 99), mode: this.mode || 0o644, uid: this.uid || null, gid: this.gid || null, size: bodyLen, mtime: this.mtime || null, type: this.global ? 'GlobalExtendedHeader' : 'ExtendedHeader', linkpath: '', uname: this.uname || '', gname: this.gname || '', devmaj: 0, devmin: 0, atime: this.atime || null, ctime: this.ctime || null }).encode(buf) buf.write(body, 512, bodyLen, 'utf8') // null pad after the body for (let i = bodyLen + 512; i < buf.length; i++) { buf[i] = 0 } return buf } encodeBody () { return ( this.encodeField('path') + this.encodeField('ctime') + this.encodeField('atime') + this.encodeField('dev') + this.encodeField('ino') + this.encodeField('nlink') + this.encodeField('charset') + this.encodeField('comment') + this.encodeField('gid') + this.encodeField('gname') + this.encodeField('linkpath') + this.encodeField('mtime') + this.encodeField('size') + this.encodeField('uid') + this.encodeField('uname') ) } encodeField (field) { if (this[field] === null || this[field] === undefined) return '' const v = this[field] instanceof Date ? this[field].getTime() / 1000 : this[field] const s = ' ' + (field === 'dev' || field === 'ino' || field === 'nlink' ? 'SCHILY.' : '') + field + '=' + v + '\n' const byteLen = Buffer.byteLength(s) // the digits includes the length of the digits in ascii base-10 // so if it's 9 characters, then adding 1 for the 9 makes it 10 // which makes it 11 chars. let digits = Math.floor(Math.log(byteLen) / Math.log(10)) + 1 if (byteLen + digits >= Math.pow(10, digits)) digits += 1 const len = digits + byteLen return len + s } } Pax.parse = (string, ex, g) => new Pax(merge(parseKV(string), ex), g) const merge = (a, b) => b ? Object.keys(a).reduce((s, k) => (s[k] = a[k], s), b) : a const parseKV = string => string .replace(/\n$/, '') .split('\n') .reduce(parseKVLine, Object.create(null)) const parseKVLine = (set, line) => { const n = parseInt(line, 10) // XXX Values with \n in them will fail this. // Refactor to not be a naive line-by-line parse. if (n !== Buffer.byteLength(line) + 1) return set line = line.substr((n + ' ').length) const kv = line.split('=') const k = kv.shift().replace(/^SCHILY\.(dev|ino|nlink)/, '$1') if (!k) return set const v = kv.join('=') set[k] = /^([A-Z]+\.)?([mac]|birth|creation)time$/.test(k) ? new Date(v * 1000) : /^[0-9]+$/.test(v) ? +v : v return set } module.exports = Pax node-tar-4.4.6/lib/read-entry.js000066400000000000000000000046431333044642000164220ustar00rootroot00000000000000'use strict' const types = require('./types.js') const MiniPass = require('minipass') const SLURP = Symbol('slurp') module.exports = class ReadEntry extends MiniPass { constructor (header, ex, gex) { super() this.extended = ex this.globalExtended = gex this.header = header this.startBlockSize = 512 * Math.ceil(header.size / 512) this.blockRemain = this.startBlockSize this.remain = header.size this.type = header.type this.meta = false this.ignore = false switch (this.type) { case 'File': case 'OldFile': case 'Link': case 'SymbolicLink': case 'CharacterDevice': case 'BlockDevice': case 'Directory': case 'FIFO': case 'ContiguousFile': case 'GNUDumpDir': break case 'NextFileHasLongLinkpath': case 'NextFileHasLongPath': case 'OldGnuLongPath': case 'GlobalExtendedHeader': case 'ExtendedHeader': case 'OldExtendedHeader': this.meta = true break // NOTE: gnutar and bsdtar treat unrecognized types as 'File' // it may be worth doing the same, but with a warning. default: this.ignore = true } this.path = header.path this.mode = header.mode if (this.mode) this.mode = this.mode & 0o7777 this.uid = header.uid this.gid = header.gid this.uname = header.uname this.gname = header.gname this.size = header.size this.mtime = header.mtime this.atime = header.atime this.ctime = header.ctime this.linkpath = header.linkpath this.uname = header.uname this.gname = header.gname if (ex) this[SLURP](ex) if (gex) this[SLURP](gex, true) } write (data) { const writeLen = data.length if (writeLen > this.blockRemain) throw new Error('writing more to entry than is appropriate') const r = this.remain const br = this.blockRemain this.remain = Math.max(0, r - writeLen) this.blockRemain = Math.max(0, br - writeLen) if (this.ignore) return true if (r >= writeLen) return super.write(data) // r < writeLen return super.write(data.slice(0, r)) } [SLURP] (ex, global) { for (let k in ex) { // we slurp in everything except for the path attribute in // a global extended header, because that's weird. if (ex[k] !== null && ex[k] !== undefined && !(global && k === 'path')) this[k] = ex[k] } } } node-tar-4.4.6/lib/replace.js000066400000000000000000000125641333044642000157640ustar00rootroot00000000000000'use strict' const Buffer = require('./buffer.js') // tar -r const hlo = require('./high-level-opt.js') const Pack = require('./pack.js') const Parse = require('./parse.js') const fs = require('fs') const fsm = require('fs-minipass') const t = require('./list.js') const path = require('path') // starting at the head of the file, read a Header // If the checksum is invalid, that's our position to start writing // If it is, jump forward by the specified size (round up to 512) // and try again. // Write the new Pack stream starting there. const Header = require('./header.js') const r = module.exports = (opt_, files, cb) => { const opt = hlo(opt_) if (!opt.file) throw new TypeError('file is required') if (opt.gzip) throw new TypeError('cannot append to compressed archives') if (!files || !Array.isArray(files) || !files.length) throw new TypeError('no files or directories specified') files = Array.from(files) return opt.sync ? replaceSync(opt, files) : replace(opt, files, cb) } const replaceSync = (opt, files) => { const p = new Pack.Sync(opt) let threw = true let fd let position try { try { fd = fs.openSync(opt.file, 'r+') } catch (er) { if (er.code === 'ENOENT') fd = fs.openSync(opt.file, 'w+') else throw er } const st = fs.fstatSync(fd) const headBuf = Buffer.alloc(512) POSITION: for (position = 0; position < st.size; position += 512) { for (let bufPos = 0, bytes = 0; bufPos < 512; bufPos += bytes) { bytes = fs.readSync( fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos ) if (position === 0 && headBuf[0] === 0x1f && headBuf[1] === 0x8b) throw new Error('cannot append to compressed archives') if (!bytes) break POSITION } let h = new Header(headBuf) if (!h.cksumValid) break let entryBlockSize = 512 * Math.ceil(h.size / 512) if (position + entryBlockSize + 512 > st.size) break // the 512 for the header we just parsed will be added as well // also jump ahead all the blocks for the body position += entryBlockSize if (opt.mtimeCache) opt.mtimeCache.set(h.path, h.mtime) } threw = false streamSync(opt, p, position, fd, files) } finally { if (threw) try { fs.closeSync(fd) } catch (er) {} } } const streamSync = (opt, p, position, fd, files) => { const stream = new fsm.WriteStreamSync(opt.file, { fd: fd, start: position }) p.pipe(stream) addFilesSync(p, files) } const replace = (opt, files, cb) => { files = Array.from(files) const p = new Pack(opt) const getPos = (fd, size, cb_) => { const cb = (er, pos) => { if (er) fs.close(fd, _ => cb_(er)) else cb_(null, pos) } let position = 0 if (size === 0) return cb(null, 0) let bufPos = 0 const headBuf = Buffer.alloc(512) const onread = (er, bytes) => { if (er) return cb(er) bufPos += bytes if (bufPos < 512 && bytes) return fs.read( fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread ) if (position === 0 && headBuf[0] === 0x1f && headBuf[1] === 0x8b) return cb(new Error('cannot append to compressed archives')) // truncated header if (bufPos < 512) return cb(null, position) const h = new Header(headBuf) if (!h.cksumValid) return cb(null, position) const entryBlockSize = 512 * Math.ceil(h.size / 512) if (position + entryBlockSize + 512 > size) return cb(null, position) position += entryBlockSize + 512 if (position >= size) return cb(null, position) if (opt.mtimeCache) opt.mtimeCache.set(h.path, h.mtime) bufPos = 0 fs.read(fd, headBuf, 0, 512, position, onread) } fs.read(fd, headBuf, 0, 512, position, onread) } const promise = new Promise((resolve, reject) => { p.on('error', reject) let flag = 'r+' const onopen = (er, fd) => { if (er && er.code === 'ENOENT' && flag === 'r+') { flag = 'w+' return fs.open(opt.file, flag, onopen) } if (er) return reject(er) fs.fstat(fd, (er, st) => { if (er) return reject(er) getPos(fd, st.size, (er, position) => { if (er) return reject(er) const stream = new fsm.WriteStream(opt.file, { fd: fd, start: position }) p.pipe(stream) stream.on('error', reject) stream.on('close', resolve) addFilesAsync(p, files) }) }) } fs.open(opt.file, flag, onopen) }) return cb ? promise.then(cb, cb) : promise } const addFilesSync = (p, files) => { files.forEach(file => { if (file.charAt(0) === '@') t({ file: path.resolve(p.cwd, file.substr(1)), sync: true, noResume: true, onentry: entry => p.add(entry) }) else p.add(file) }) p.end() } const addFilesAsync = (p, files) => { while (files.length) { const file = files.shift() if (file.charAt(0) === '@') return t({ file: path.resolve(p.cwd, file.substr(1)), noResume: true, onentry: entry => p.add(entry) }).then(_ => addFilesAsync(p, files)) else p.add(file) } p.end() } node-tar-4.4.6/lib/types.js000066400000000000000000000021071333044642000155050ustar00rootroot00000000000000'use strict' // map types from key to human-friendly name exports.name = new Map([ ['0', 'File'], // same as File ['', 'OldFile'], ['1', 'Link'], ['2', 'SymbolicLink'], // Devices and FIFOs aren't fully supported // they are parsed, but skipped when unpacking ['3', 'CharacterDevice'], ['4', 'BlockDevice'], ['5', 'Directory'], ['6', 'FIFO'], // same as File ['7', 'ContiguousFile'], // pax headers ['g', 'GlobalExtendedHeader'], ['x', 'ExtendedHeader'], // vendor-specific stuff // skip ['A', 'SolarisACL'], // like 5, but with data, which should be skipped ['D', 'GNUDumpDir'], // metadata only, skip ['I', 'Inode'], // data = link path of next file ['K', 'NextFileHasLongLinkpath'], // data = path of next file ['L', 'NextFileHasLongPath'], // skip ['M', 'ContinuationFile'], // like L ['N', 'OldGnuLongPath'], // skip ['S', 'SparseFile'], // skip ['V', 'TapeVolumeHeader'], // like x ['X', 'OldExtendedHeader'] ]) // map the other direction exports.code = new Map(Array.from(exports.name).map(kv => [kv[1], kv[0]])) node-tar-4.4.6/lib/unpack.js000066400000000000000000000404071333044642000156270ustar00rootroot00000000000000'use strict' const assert = require('assert') const EE = require('events').EventEmitter const Parser = require('./parse.js') const fs = require('fs') const fsm = require('fs-minipass') const path = require('path') const mkdir = require('./mkdir.js') const mkdirSync = mkdir.sync const wc = require('./winchars.js') const ONENTRY = Symbol('onEntry') const CHECKFS = Symbol('checkFs') const ISREUSABLE = Symbol('isReusable') const MAKEFS = Symbol('makeFs') const FILE = Symbol('file') const DIRECTORY = Symbol('directory') const LINK = Symbol('link') const SYMLINK = Symbol('symlink') const HARDLINK = Symbol('hardlink') const UNSUPPORTED = Symbol('unsupported') const UNKNOWN = Symbol('unknown') const CHECKPATH = Symbol('checkPath') const MKDIR = Symbol('mkdir') const ONERROR = Symbol('onError') const PENDING = Symbol('pending') const PEND = Symbol('pend') const UNPEND = Symbol('unpend') const ENDED = Symbol('ended') const MAYBECLOSE = Symbol('maybeClose') const SKIP = Symbol('skip') const DOCHOWN = Symbol('doChown') const UID = Symbol('uid') const GID = Symbol('gid') const crypto = require('crypto') // Unlinks on Windows are not atomic. // // This means that if you have a file entry, followed by another // file entry with an identical name, and you cannot re-use the file // (because it's a hardlink, or because unlink:true is set, or it's // Windows, which does not have useful nlink values), then the unlink // will be committed to the disk AFTER the new file has been written // over the old one, deleting the new file. // // To work around this, on Windows systems, we rename the file and then // delete the renamed file. It's a sloppy kludge, but frankly, I do not // know of a better way to do this, given windows' non-atomic unlink // semantics. // // See: https://github.com/npm/node-tar/issues/183 /* istanbul ignore next */ const unlinkFile = (path, cb) => { if (process.platform !== 'win32') return fs.unlink(path, cb) const name = path + '.DELETE.' + crypto.randomBytes(16).toString('hex') fs.rename(path, name, er => { if (er) return cb(er) fs.unlink(name, cb) }) } /* istanbul ignore next */ const unlinkFileSync = path => { if (process.platform !== 'win32') return fs.unlinkSync(path) const name = path + '.DELETE.' + crypto.randomBytes(16).toString('hex') fs.renameSync(path, name) fs.unlinkSync(name) } // this.gid, entry.gid, this.processUid const uint32 = (a, b, c) => a === a >>> 0 ? a : b === b >>> 0 ? b : c class Unpack extends Parser { constructor (opt) { if (!opt) opt = {} opt.ondone = _ => { this[ENDED] = true this[MAYBECLOSE]() } super(opt) this.transform = typeof opt.transform === 'function' ? opt.transform : null this.writable = true this.readable = false this[PENDING] = 0 this[ENDED] = false this.dirCache = opt.dirCache || new Map() if (typeof opt.uid === 'number' || typeof opt.gid === 'number') { // need both or neither if (typeof opt.uid !== 'number' || typeof opt.gid !== 'number') throw new TypeError('cannot set owner without number uid and gid') if (opt.preserveOwner) throw new TypeError( 'cannot preserve owner in archive and also set owner explicitly') this.uid = opt.uid this.gid = opt.gid this.setOwner = true } else { this.uid = null this.gid = null this.setOwner = false } // default true for root if (opt.preserveOwner === undefined && typeof opt.uid !== 'number') this.preserveOwner = process.getuid && process.getuid() === 0 else this.preserveOwner = !!opt.preserveOwner this.processUid = (this.preserveOwner || this.setOwner) && process.getuid ? process.getuid() : null this.processGid = (this.preserveOwner || this.setOwner) && process.getgid ? process.getgid() : null // mostly just for testing, but useful in some cases. // Forcibly trigger a chown on every entry, no matter what this.forceChown = opt.forceChown === true // turn > this[ONENTRY](entry)) } [MAYBECLOSE] () { if (this[ENDED] && this[PENDING] === 0) { this.emit('prefinish') this.emit('finish') this.emit('end') this.emit('close') } } [CHECKPATH] (entry) { if (this.strip) { const parts = entry.path.split(/\/|\\/) if (parts.length < this.strip) return false entry.path = parts.slice(this.strip).join('/') } if (!this.preservePaths) { const p = entry.path if (p.match(/(^|\/|\\)\.\.(\\|\/|$)/)) { this.warn('path contains \'..\'', p) return false } // absolutes on posix are also absolutes on win32 // so we only need to test this one to get both if (path.win32.isAbsolute(p)) { const parsed = path.win32.parse(p) this.warn('stripping ' + parsed.root + ' from absolute path', p) entry.path = p.substr(parsed.root.length) } } // only encode : chars that aren't drive letter indicators if (this.win32) { const parsed = path.win32.parse(entry.path) entry.path = parsed.root === '' ? wc.encode(entry.path) : parsed.root + wc.encode(entry.path.substr(parsed.root.length)) } if (path.isAbsolute(entry.path)) entry.absolute = entry.path else entry.absolute = path.resolve(this.cwd, entry.path) return true } [ONENTRY] (entry) { if (!this[CHECKPATH](entry)) return entry.resume() assert.equal(typeof entry.absolute, 'string') switch (entry.type) { case 'Directory': case 'GNUDumpDir': if (entry.mode) entry.mode = entry.mode | 0o700 case 'File': case 'OldFile': case 'ContiguousFile': case 'Link': case 'SymbolicLink': return this[CHECKFS](entry) case 'CharacterDevice': case 'BlockDevice': case 'FIFO': return this[UNSUPPORTED](entry) } } [ONERROR] (er, entry) { // Cwd has to exist, or else nothing works. That's serious. // Other errors are warnings, which raise the error in strict // mode, but otherwise continue on. if (er.name === 'CwdError') this.emit('error', er) else { this.warn(er.message, er) this[UNPEND]() entry.resume() } } [MKDIR] (dir, mode, cb) { mkdir(dir, { uid: this.uid, gid: this.gid, processUid: this.processUid, processGid: this.processGid, umask: this.processUmask, preserve: this.preservePaths, unlink: this.unlink, cache: this.dirCache, cwd: this.cwd, mode: mode }, cb) } [DOCHOWN] (entry) { // in preserve owner mode, chown if the entry doesn't match process // in set owner mode, chown if setting doesn't match process return this.forceChown || this.preserveOwner && ( typeof entry.uid === 'number' && entry.uid !== this.processUid || typeof entry.gid === 'number' && entry.gid !== this.processGid ) || ( typeof this.uid === 'number' && this.uid !== this.processUid || typeof this.gid === 'number' && this.gid !== this.processGid ) } [UID] (entry) { return uint32(this.uid, entry.uid, this.processUid) } [GID] (entry) { return uint32(this.gid, entry.gid, this.processGid) } [FILE] (entry) { const mode = entry.mode & 0o7777 || this.fmode const stream = new fsm.WriteStream(entry.absolute, { mode: mode, autoClose: false }) stream.on('error', er => this[ONERROR](er, entry)) let actions = 1 const done = er => { if (er) return this[ONERROR](er, entry) if (--actions === 0) fs.close(stream.fd, _ => this[UNPEND]()) } stream.on('finish', _ => { // if futimes fails, try utimes // if utimes fails, fail with the original error // same for fchown/chown const abs = entry.absolute const fd = stream.fd if (entry.mtime && !this.noMtime) { actions++ const atime = entry.atime || new Date() const mtime = entry.mtime fs.futimes(fd, atime, mtime, er => er ? fs.utimes(abs, atime, mtime, er2 => done(er2 && er)) : done()) } if (this[DOCHOWN](entry)) { actions++ const uid = this[UID](entry) const gid = this[GID](entry) fs.fchown(fd, uid, gid, er => er ? fs.chown(abs, uid, gid, er2 => done(er2 && er)) : done()) } done() }) const tx = this.transform ? this.transform(entry) || entry : entry if (tx !== entry) { tx.on('error', er => this[ONERROR](er, entry)) entry.pipe(tx) } tx.pipe(stream) } [DIRECTORY] (entry) { const mode = entry.mode & 0o7777 || this.dmode this[MKDIR](entry.absolute, mode, er => { if (er) return this[ONERROR](er, entry) let actions = 1 const done = _ => { if (--actions === 0) { this[UNPEND]() entry.resume() } } if (entry.mtime && !this.noMtime) { actions++ fs.utimes(entry.absolute, entry.atime || new Date(), entry.mtime, done) } if (this[DOCHOWN](entry)) { actions++ fs.chown(entry.absolute, this[UID](entry), this[GID](entry), done) } done() }) } [UNSUPPORTED] (entry) { this.warn('unsupported entry type: ' + entry.type, entry) entry.resume() } [SYMLINK] (entry) { this[LINK](entry, entry.linkpath, 'symlink') } [HARDLINK] (entry) { this[LINK](entry, path.resolve(this.cwd, entry.linkpath), 'link') } [PEND] () { this[PENDING]++ } [UNPEND] () { this[PENDING]-- this[MAYBECLOSE]() } [SKIP] (entry) { this[UNPEND]() entry.resume() } // Check if we can reuse an existing filesystem entry safely and // overwrite it, rather than unlinking and recreating // Windows doesn't report a useful nlink, so we just never reuse entries [ISREUSABLE] (entry, st) { return entry.type === 'File' && !this.unlink && st.isFile() && st.nlink <= 1 && process.platform !== 'win32' } // check if a thing is there, and if so, try to clobber it [CHECKFS] (entry) { this[PEND]() this[MKDIR](path.dirname(entry.absolute), this.dmode, er => { if (er) return this[ONERROR](er, entry) fs.lstat(entry.absolute, (er, st) => { if (st && (this.keep || this.newer && st.mtime > entry.mtime)) this[SKIP](entry) else if (er || this[ISREUSABLE](entry, st)) this[MAKEFS](null, entry) else if (st.isDirectory()) { if (entry.type === 'Directory') { if (!entry.mode || (st.mode & 0o7777) === entry.mode) this[MAKEFS](null, entry) else fs.chmod(entry.absolute, entry.mode, er => this[MAKEFS](er, entry)) } else fs.rmdir(entry.absolute, er => this[MAKEFS](er, entry)) } else unlinkFile(entry.absolute, er => this[MAKEFS](er, entry)) }) }) } [MAKEFS] (er, entry) { if (er) return this[ONERROR](er, entry) switch (entry.type) { case 'File': case 'OldFile': case 'ContiguousFile': return this[FILE](entry) case 'Link': return this[HARDLINK](entry) case 'SymbolicLink': return this[SYMLINK](entry) case 'Directory': case 'GNUDumpDir': return this[DIRECTORY](entry) } } [LINK] (entry, linkpath, link) { // XXX: get the type ('file' or 'dir') for windows fs[link](linkpath, entry.absolute, er => { if (er) return this[ONERROR](er, entry) this[UNPEND]() entry.resume() }) } } class UnpackSync extends Unpack { constructor (opt) { super(opt) } [CHECKFS] (entry) { const er = this[MKDIR](path.dirname(entry.absolute), this.dmode) if (er) return this[ONERROR](er, entry) try { const st = fs.lstatSync(entry.absolute) if (this.keep || this.newer && st.mtime > entry.mtime) return this[SKIP](entry) else if (this[ISREUSABLE](entry, st)) return this[MAKEFS](null, entry) else { try { if (st.isDirectory()) { if (entry.type === 'Directory') { if (entry.mode && (st.mode & 0o7777) !== entry.mode) fs.chmodSync(entry.absolute, entry.mode) } else fs.rmdirSync(entry.absolute) } else unlinkFileSync(entry.absolute) return this[MAKEFS](null, entry) } catch (er) { return this[ONERROR](er, entry) } } } catch (er) { return this[MAKEFS](null, entry) } } [FILE] (entry) { const mode = entry.mode & 0o7777 || this.fmode const oner = er => { try { fs.closeSync(fd) } catch (_) {} if (er) this[ONERROR](er, entry) } let stream let fd try { fd = fs.openSync(entry.absolute, 'w', mode) } catch (er) { return oner(er) } const tx = this.transform ? this.transform(entry) || entry : entry if (tx !== entry) { tx.on('error', er => this[ONERROR](er, entry)) entry.pipe(tx) } tx.on('data', chunk => { try { fs.writeSync(fd, chunk, 0, chunk.length) } catch (er) { oner(er) } }) tx.on('end', _ => { let er = null // try both, falling futimes back to utimes // if either fails, handle the first error if (entry.mtime && !this.noMtime) { const atime = entry.atime || new Date() const mtime = entry.mtime try { fs.futimesSync(fd, atime, mtime) } catch (futimeser) { try { fs.utimesSync(entry.absolute, atime, mtime) } catch (utimeser) { er = futimeser } } } if (this[DOCHOWN](entry)) { const uid = this[UID](entry) const gid = this[GID](entry) try { fs.fchownSync(fd, uid, gid) } catch (fchowner) { try { fs.chownSync(entry.absolute, uid, gid) } catch (chowner) { er = er || fchowner } } } oner(er) }) } [DIRECTORY] (entry) { const mode = entry.mode & 0o7777 || this.dmode const er = this[MKDIR](entry.absolute, mode) if (er) return this[ONERROR](er, entry) if (entry.mtime && !this.noMtime) { try { fs.utimesSync(entry.absolute, entry.atime || new Date(), entry.mtime) } catch (er) {} } if (this[DOCHOWN](entry)) { try { fs.chownSync(entry.absolute, this[UID](entry), this[GID](entry)) } catch (er) {} } entry.resume() } [MKDIR] (dir, mode) { try { return mkdir.sync(dir, { uid: this.uid, gid: this.gid, processUid: this.processUid, processGid: this.processGid, umask: this.processUmask, preserve: this.preservePaths, unlink: this.unlink, cache: this.dirCache, cwd: this.cwd, mode: mode }) } catch (er) { return er } } [LINK] (entry, linkpath, link) { try { fs[link + 'Sync'](linkpath, entry.absolute) entry.resume() } catch (er) { return this[ONERROR](er, entry) } } } Unpack.Sync = UnpackSync module.exports = Unpack node-tar-4.4.6/lib/update.js000066400000000000000000000015241333044642000156250ustar00rootroot00000000000000'use strict' // tar -u const hlo = require('./high-level-opt.js') const r = require('./replace.js') // just call tar.r with the filter and mtimeCache const u = module.exports = (opt_, files, cb) => { const opt = hlo(opt_) if (!opt.file) throw new TypeError('file is required') if (opt.gzip) throw new TypeError('cannot append to compressed archives') if (!files || !Array.isArray(files) || !files.length) throw new TypeError('no files or directories specified') files = Array.from(files) mtimeFilter(opt) return r(opt, files, cb) } const mtimeFilter = opt => { const filter = opt.filter if (!opt.mtimeCache) opt.mtimeCache = new Map() opt.filter = filter ? (path, stat) => filter(path, stat) && !(opt.mtimeCache.get(path) > stat.mtime) : (path, stat) => !(opt.mtimeCache.get(path) > stat.mtime) } node-tar-4.4.6/lib/warn-mixin.js000066400000000000000000000004651333044642000164370ustar00rootroot00000000000000'use strict' module.exports = Base => class extends Base { warn (msg, data) { if (!this.strict) this.emit('warn', msg, data) else if (data instanceof Error) this.emit('error', data) else { const er = new Error(msg) er.data = data this.emit('error', er) } } } node-tar-4.4.6/lib/winchars.js000066400000000000000000000010251333044642000161550ustar00rootroot00000000000000'use strict' // When writing files on Windows, translate the characters to their // 0xf000 higher-encoded versions. const raw = [ '|', '<', '>', '?', ':' ] const win = raw.map(char => String.fromCharCode(0xf000 + char.charCodeAt(0))) const toWin = new Map(raw.map((char, i) => [char, win[i]])) const toRaw = new Map(win.map((char, i) => [char, raw[i]])) module.exports = { encode: s => raw.reduce((s, c) => s.split(c).join(toWin.get(c)), s), decode: s => win.reduce((s, c) => s.split(c).join(toRaw.get(c)), s) } node-tar-4.4.6/lib/write-entry.js000066400000000000000000000267621333044642000166470ustar00rootroot00000000000000'use strict' const Buffer = require('./buffer.js') const MiniPass = require('minipass') const Pax = require('./pax.js') const Header = require('./header.js') const ReadEntry = require('./read-entry.js') const fs = require('fs') const path = require('path') const types = require('./types.js') const maxReadSize = 16 * 1024 * 1024 const PROCESS = Symbol('process') const FILE = Symbol('file') const DIRECTORY = Symbol('directory') const SYMLINK = Symbol('symlink') const HARDLINK = Symbol('hardlink') const HEADER = Symbol('header') const READ = Symbol('read') const LSTAT = Symbol('lstat') const ONLSTAT = Symbol('onlstat') const ONREAD = Symbol('onread') const ONREADLINK = Symbol('onreadlink') const OPENFILE = Symbol('openfile') const ONOPENFILE = Symbol('onopenfile') const CLOSE = Symbol('close') const MODE = Symbol('mode') const warner = require('./warn-mixin.js') const winchars = require('./winchars.js') const modeFix = require('./mode-fix.js') const WriteEntry = warner(class WriteEntry extends MiniPass { constructor (p, opt) { opt = opt || {} super(opt) if (typeof p !== 'string') throw new TypeError('path is required') this.path = p // suppress atime, ctime, uid, gid, uname, gname this.portable = !!opt.portable // until node has builtin pwnam functions, this'll have to do this.myuid = process.getuid && process.getuid() this.myuser = process.env.USER || '' this.maxReadSize = opt.maxReadSize || maxReadSize this.linkCache = opt.linkCache || new Map() this.statCache = opt.statCache || new Map() this.preservePaths = !!opt.preservePaths this.cwd = opt.cwd || process.cwd() this.strict = !!opt.strict this.noPax = !!opt.noPax this.noMtime = !!opt.noMtime this.mtime = opt.mtime || null if (typeof opt.onwarn === 'function') this.on('warn', opt.onwarn) if (!this.preservePaths && path.win32.isAbsolute(p)) { // absolutes on posix are also absolutes on win32 // so we only need to test this one to get both const parsed = path.win32.parse(p) this.warn('stripping ' + parsed.root + ' from absolute path', p) this.path = p.substr(parsed.root.length) } this.win32 = !!opt.win32 || process.platform === 'win32' if (this.win32) { this.path = winchars.decode(this.path.replace(/\\/g, '/')) p = p.replace(/\\/g, '/') } this.absolute = opt.absolute || path.resolve(this.cwd, p) if (this.path === '') this.path = './' if (this.statCache.has(this.absolute)) this[ONLSTAT](this.statCache.get(this.absolute)) else this[LSTAT]() } [LSTAT] () { fs.lstat(this.absolute, (er, stat) => { if (er) return this.emit('error', er) this[ONLSTAT](stat) }) } [ONLSTAT] (stat) { this.statCache.set(this.absolute, stat) this.stat = stat if (!stat.isFile()) stat.size = 0 this.type = getType(stat) this.emit('stat', stat) this[PROCESS]() } [PROCESS] () { switch (this.type) { case 'File': return this[FILE]() case 'Directory': return this[DIRECTORY]() case 'SymbolicLink': return this[SYMLINK]() // unsupported types are ignored. default: return this.end() } } [MODE] (mode) { return modeFix(mode, this.type === 'Directory') } [HEADER] () { if (this.type === 'Directory' && this.portable) this.noMtime = true this.header = new Header({ path: this.path, linkpath: this.linkpath, // only the permissions and setuid/setgid/sticky bitflags // not the higher-order bits that specify file type mode: this[MODE](this.stat.mode), uid: this.portable ? null : this.stat.uid, gid: this.portable ? null : this.stat.gid, size: this.stat.size, mtime: this.noMtime ? null : this.mtime || this.stat.mtime, type: this.type, uname: this.portable ? null : this.stat.uid === this.myuid ? this.myuser : '', atime: this.portable ? null : this.stat.atime, ctime: this.portable ? null : this.stat.ctime }) if (this.header.encode() && !this.noPax) this.write(new Pax({ atime: this.portable ? null : this.header.atime, ctime: this.portable ? null : this.header.ctime, gid: this.portable ? null : this.header.gid, mtime: this.noMtime ? null : this.mtime || this.header.mtime, path: this.path, linkpath: this.linkpath, size: this.header.size, uid: this.portable ? null : this.header.uid, uname: this.portable ? null : this.header.uname, dev: this.portable ? null : this.stat.dev, ino: this.portable ? null : this.stat.ino, nlink: this.portable ? null : this.stat.nlink }).encode()) this.write(this.header.block) } [DIRECTORY] () { if (this.path.substr(-1) !== '/') this.path += '/' this.stat.size = 0 this[HEADER]() this.end() } [SYMLINK] () { fs.readlink(this.absolute, (er, linkpath) => { if (er) return this.emit('error', er) this[ONREADLINK](linkpath) }) } [ONREADLINK] (linkpath) { this.linkpath = linkpath this[HEADER]() this.end() } [HARDLINK] (linkpath) { this.type = 'Link' this.linkpath = path.relative(this.cwd, linkpath) this.stat.size = 0 this[HEADER]() this.end() } [FILE] () { if (this.stat.nlink > 1) { const linkKey = this.stat.dev + ':' + this.stat.ino if (this.linkCache.has(linkKey)) { const linkpath = this.linkCache.get(linkKey) if (linkpath.indexOf(this.cwd) === 0) return this[HARDLINK](linkpath) } this.linkCache.set(linkKey, this.absolute) } this[HEADER]() if (this.stat.size === 0) return this.end() this[OPENFILE]() } [OPENFILE] () { fs.open(this.absolute, 'r', (er, fd) => { if (er) return this.emit('error', er) this[ONOPENFILE](fd) }) } [ONOPENFILE] (fd) { const blockLen = 512 * Math.ceil(this.stat.size / 512) const bufLen = Math.min(blockLen, this.maxReadSize) const buf = Buffer.allocUnsafe(bufLen) this[READ](fd, buf, 0, buf.length, 0, this.stat.size, blockLen) } [READ] (fd, buf, offset, length, pos, remain, blockRemain) { fs.read(fd, buf, offset, length, pos, (er, bytesRead) => { if (er) return this[CLOSE](fd, _ => this.emit('error', er)) this[ONREAD](fd, buf, offset, length, pos, remain, blockRemain, bytesRead) }) } [CLOSE] (fd, cb) { fs.close(fd, cb) } [ONREAD] (fd, buf, offset, length, pos, remain, blockRemain, bytesRead) { if (bytesRead <= 0 && remain > 0) { const er = new Error('unexpected EOF') er.path = this.absolute er.syscall = 'read' er.code = 'EOF' this.emit('error', er) } // null out the rest of the buffer, if we could fit the block padding if (bytesRead === remain) { for (let i = bytesRead; i < length && bytesRead < blockRemain; i++) { buf[i + offset] = 0 bytesRead ++ remain ++ } } const writeBuf = offset === 0 && bytesRead === buf.length ? buf : buf.slice(offset, offset + bytesRead) remain -= bytesRead blockRemain -= bytesRead pos += bytesRead offset += bytesRead this.write(writeBuf) if (!remain) { if (blockRemain) this.write(Buffer.alloc(blockRemain)) this.end() this[CLOSE](fd, _ => _) return } if (offset >= length) { buf = Buffer.allocUnsafe(length) offset = 0 } length = buf.length - offset this[READ](fd, buf, offset, length, pos, remain, blockRemain) } }) class WriteEntrySync extends WriteEntry { constructor (path, opt) { super(path, opt) } [LSTAT] () { this[ONLSTAT](fs.lstatSync(this.absolute)) } [SYMLINK] () { this[ONREADLINK](fs.readlinkSync(this.absolute)) } [OPENFILE] () { this[ONOPENFILE](fs.openSync(this.absolute, 'r')) } [READ] (fd, buf, offset, length, pos, remain, blockRemain) { let threw = true try { const bytesRead = fs.readSync(fd, buf, offset, length, pos) this[ONREAD](fd, buf, offset, length, pos, remain, blockRemain, bytesRead) threw = false } finally { if (threw) try { this[CLOSE](fd) } catch (er) {} } } [CLOSE] (fd) { fs.closeSync(fd) } } const WriteEntryTar = warner(class WriteEntryTar extends MiniPass { constructor (readEntry, opt) { opt = opt || {} super(opt) this.preservePaths = !!opt.preservePaths this.portable = !!opt.portable this.strict = !!opt.strict this.noPax = !!opt.noPax this.noMtime = !!opt.noMtime this.readEntry = readEntry this.type = readEntry.type if (this.type === 'Directory' && this.portable) this.noMtime = true this.path = readEntry.path this.mode = this[MODE](readEntry.mode) this.uid = this.portable ? null : readEntry.uid this.gid = this.portable ? null : readEntry.gid this.uname = this.portable ? null : readEntry.uname this.gname = this.portable ? null : readEntry.gname this.size = readEntry.size this.mtime = this.noMtime ? null : opt.mtime || readEntry.mtime this.atime = this.portable ? null : readEntry.atime this.ctime = this.portable ? null : readEntry.ctime this.linkpath = readEntry.linkpath if (typeof opt.onwarn === 'function') this.on('warn', opt.onwarn) if (path.isAbsolute(this.path) && !this.preservePaths) { const parsed = path.parse(this.path) this.warn( 'stripping ' + parsed.root + ' from absolute path', this.path ) this.path = this.path.substr(parsed.root.length) } this.remain = readEntry.size this.blockRemain = readEntry.startBlockSize this.header = new Header({ path: this.path, linkpath: this.linkpath, // only the permissions and setuid/setgid/sticky bitflags // not the higher-order bits that specify file type mode: this.mode, uid: this.portable ? null : this.uid, gid: this.portable ? null : this.gid, size: this.size, mtime: this.noMtime ? null : this.mtime, type: this.type, uname: this.portable ? null : this.uname, atime: this.portable ? null : this.atime, ctime: this.portable ? null : this.ctime }) if (this.header.encode() && !this.noPax) super.write(new Pax({ atime: this.portable ? null : this.atime, ctime: this.portable ? null : this.ctime, gid: this.portable ? null : this.gid, mtime: this.noMtime ? null : this.mtime, path: this.path, linkpath: this.linkpath, size: this.size, uid: this.portable ? null : this.uid, uname: this.portable ? null : this.uname, dev: this.portable ? null : this.readEntry.dev, ino: this.portable ? null : this.readEntry.ino, nlink: this.portable ? null : this.readEntry.nlink }).encode()) super.write(this.header.block) readEntry.pipe(this) } [MODE] (mode) { return modeFix(mode, this.type === 'Directory') } write (data) { const writeLen = data.length if (writeLen > this.blockRemain) throw new Error('writing more to entry than is appropriate') this.blockRemain -= writeLen return super.write(data) } end () { if (this.blockRemain) this.write(Buffer.alloc(this.blockRemain)) return super.end() } }) WriteEntry.Sync = WriteEntrySync WriteEntry.Tar = WriteEntryTar const getType = stat => stat.isFile() ? 'File' : stat.isDirectory() ? 'Directory' : stat.isSymbolicLink() ? 'SymbolicLink' : 'Unsupported' module.exports = WriteEntry node-tar-4.4.6/package-lock.json000066400000000000000000003200361333044642000164550ustar00rootroot00000000000000{ "name": "tar", "version": "4.4.6", "lockfileVersion": 1, "requires": true, "dependencies": { "ajv": { "version": "5.5.2", "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", "dev": true, "requires": { "co": "^4.6.0", "fast-deep-equal": "^1.0.0", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.3.0" } }, "ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "dev": true }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, "requires": { "sprintf-js": "~1.0.2" } }, "asn1": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=", "dev": true }, "assert-plus": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "dev": true }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", "dev": true }, "aws-sign2": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", "dev": true }, "aws4": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.7.0.tgz", "integrity": "sha512-32NDda82rhwD9/JBCCkB+MRYDp0oSvlo2IL6rQWA10PQi7tDUM3eqMSltXmY+Oyl/7N3P3qNtAlv7X0d9bI28w==", "dev": true }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "dev": true }, "bcrypt-pbkdf": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", "dev": true, "optional": true, "requires": { "tweetnacl": "^0.14.3" } }, "bind-obj-methods": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-2.0.0.tgz", "integrity": "sha512-3/qRXczDi2Cdbz6jE+W3IflJOutRVica8frpBn14de1mBOkzDo+6tY33kNhvkw54Kn3PzRRD2VnGbGPcTAk4sw==", "dev": true }, "bl": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz", "integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==", "dev": true, "requires": { "readable-stream": "^2.3.5", "safe-buffer": "^5.1.1" } }, "bluebird": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==", "dev": true }, "brace-expansion": { "version": "1.1.8", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "buffer-alloc": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.1.0.tgz", "integrity": "sha1-BVFNM78WVtNUDGhPZbEgLpDsowM=", "dev": true, "requires": { "buffer-alloc-unsafe": "^0.1.0", "buffer-fill": "^0.1.0" } }, "buffer-alloc-unsafe": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-0.1.1.tgz", "integrity": "sha1-/+H2dVHdBVc33iUzN7/oU9+rGmo=", "dev": true }, "buffer-fill": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-0.1.1.tgz", "integrity": "sha512-YgBMBzdRLEfgxJIGu2wrvI2E03tMCFU1p7d1KhB4BOoMN0VxmTFjSyN5JtKt9z8Z9JajMHruI6SE25W96wNv7Q==", "dev": true }, "buffer-from": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.0.0.tgz", "integrity": "sha512-83apNb8KK0Se60UE1+4Ukbe3HbfELJ6UlI4ldtOGs7So4KD26orJM8hIY9lxdzP+UpItH1Yh/Y8GUvNFWFFRxA==", "dev": true }, "caseless": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", "dev": true }, "chmodr": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/chmodr/-/chmodr-1.0.2.tgz", "integrity": "sha1-BGYrky0PAuxm3qorDqQoEZaOPrk=", "dev": true }, "chownr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.0.1.tgz", "integrity": "sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE=" }, "clean-yaml-object": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/clean-yaml-object/-/clean-yaml-object-0.1.0.tgz", "integrity": "sha1-Y/sRDcLOGoTcIfbZM0h20BCui2g=", "dev": true }, "co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", "dev": true }, "color-support": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", "dev": true }, "combined-stream": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz", "integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=", "dev": true, "requires": { "delayed-stream": "~1.0.0" } }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, "core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "dev": true }, "coveralls": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.0.1.tgz", "integrity": "sha512-FAzXwiDOYLGDWH+zgoIA+8GbWv50hlx+kpEJyvzLKOdnIBv9uWoVl4DhqGgyUHpiRjAlF8KYZSipWXYtllWH6Q==", "dev": true, "requires": { "js-yaml": "^3.6.1", "lcov-parse": "^0.0.10", "log-driver": "^1.2.5", "minimist": "^1.2.0", "request": "^2.79.0" }, "dependencies": { "minimist": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true } } }, "cross-spawn": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-4.0.2.tgz", "integrity": "sha1-e5JHYhwjrf3ThWAEqCPL45dCTUE=", "dev": true, "requires": { "lru-cache": "^4.0.1", "which": "^1.2.9" } }, "dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "dev": true, "requires": { "assert-plus": "^1.0.0" } }, "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { "ms": "2.0.0" } }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", "dev": true }, "diff": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz", "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=", "dev": true }, "ecc-jsbn": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", "dev": true, "optional": true, "requires": { "jsbn": "~0.1.0" } }, "end-of-stream": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", "dev": true, "requires": { "once": "^1.4.0" } }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", "dev": true }, "esprima": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==", "dev": true }, "events-to-array": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/events-to-array/-/events-to-array-1.1.2.tgz", "integrity": "sha1-LUH1Y+H+QA7Uli/hpNXGp1Od9/Y=", "dev": true }, "extend": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=", "dev": true }, "extsprintf": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", "dev": true }, "fast-deep-equal": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", "dev": true }, "fast-json-stable-stringify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", "dev": true }, "foreground-child": { "version": "1.5.6", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-1.5.6.tgz", "integrity": "sha1-T9ca0t/elnibmApcCilZN8svXOk=", "dev": true, "requires": { "cross-spawn": "^4", "signal-exit": "^3.0.0" } }, "forever-agent": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", "dev": true }, "form-data": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.2.tgz", "integrity": "sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=", "dev": true, "requires": { "asynckit": "^0.4.0", "combined-stream": "1.0.6", "mime-types": "^2.1.12" } }, "fs-constants": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", "dev": true }, "fs-exists-cached": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs-exists-cached/-/fs-exists-cached-1.0.0.tgz", "integrity": "sha1-zyVVTKBQ3EmuZla0HeQiWJidy84=", "dev": true }, "fs-minipass": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.5.tgz", "integrity": "sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ==", "requires": { "minipass": "^2.2.1" } }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, "function-loop": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/function-loop/-/function-loop-1.0.1.tgz", "integrity": "sha1-gHa7MF6OajzO7ikgdl8zDRkPNAw=", "dev": true }, "getpass": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "dev": true, "requires": { "assert-plus": "^1.0.0" } }, "glob": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.0.4", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } }, "graceful-fs": { "version": "4.1.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", "dev": true }, "har-schema": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", "dev": true }, "har-validator": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz", "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=", "dev": true, "requires": { "ajv": "^5.1.0", "har-schema": "^2.0.0" } }, "http-signature": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", "dev": true, "requires": { "assert-plus": "^1.0.0", "jsprim": "^1.2.2", "sshpk": "^1.7.0" } }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", "dev": true }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" } }, "inherits": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", "dev": true }, "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", "dev": true }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "dev": true }, "isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, "isstream": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", "dev": true }, "js-yaml": { "version": "3.11.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.11.0.tgz", "integrity": "sha512-saJstZWv7oNeOyBh3+Dx1qWzhW0+e6/8eDzo7p5rDFqxntSztloLtuKu+Ejhtq82jsilwOIZYsCz+lIjthg1Hw==", "dev": true, "requires": { "argparse": "^1.0.7", "esprima": "^4.0.0" } }, "jsbn": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", "dev": true, "optional": true }, "json-schema": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", "dev": true }, "json-schema-traverse": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", "dev": true }, "json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", "dev": true }, "jsprim": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", "dev": true, "requires": { "assert-plus": "1.0.0", "extsprintf": "1.3.0", "json-schema": "0.2.3", "verror": "1.10.0" } }, "lcov-parse": { "version": "0.0.10", "resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.10.tgz", "integrity": "sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=", "dev": true }, "log-driver": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz", "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==", "dev": true }, "lru-cache": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", "dev": true, "requires": { "pseudomap": "^1.0.2", "yallist": "^2.1.2" }, "dependencies": { "yallist": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", "dev": true } } }, "mime-db": { "version": "1.33.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==", "dev": true }, "mime-types": { "version": "2.1.18", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", "dev": true, "requires": { "mime-db": "~1.33.0" } }, "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" }, "minipass": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.3.tgz", "integrity": "sha512-/jAn9/tEX4gnpyRATxgHEOV6xbcyxgT7iUnxo9Y3+OB0zX00TgKIv/2FZCf5brBbICcwbLqVv2ImjvWWrQMSYw==", "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" } }, "minizlib": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.1.0.tgz", "integrity": "sha512-4T6Ur/GctZ27nHfpt9THOdRZNgyJ9FZchYO1ceg5S8Q3DNLCKYy44nCZzgCJgcvx2UM8czmqak5BCxJMrq37lA==", "requires": { "minipass": "^2.2.1" } }, "mkdirp": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "requires": { "minimist": "0.0.8" } }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true }, "mutate-fs": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/mutate-fs/-/mutate-fs-2.1.1.tgz", "integrity": "sha512-WI5pPPUNiWqaK2XdK94AVpxIc8GmZEXYlLfFbWuc4gUtBGHTK92jdPqFdx/lilxgb5Ep7tQ15NqCcJEOeq6wdA==", "dev": true }, "nyc": { "version": "11.8.0", "resolved": "https://registry.npmjs.org/nyc/-/nyc-11.8.0.tgz", "integrity": "sha512-PUFq1PSsx5OinSk5g5aaZygcDdI3QQT5XUlbR9QRMihtMS6w0Gm8xj4BxmKeeAlpQXC5M2DIhH16Y+KejceivQ==", "dev": true, "requires": { "archy": "^1.0.0", "arrify": "^1.0.1", "caching-transform": "^1.0.0", "convert-source-map": "^1.5.1", "debug-log": "^1.0.1", "default-require-extensions": "^1.0.0", "find-cache-dir": "^0.1.1", "find-up": "^2.1.0", "foreground-child": "^1.5.3", "glob": "^7.0.6", "istanbul-lib-coverage": "^1.1.2", "istanbul-lib-hook": "^1.1.0", "istanbul-lib-instrument": "^1.10.0", "istanbul-lib-report": "^1.1.3", "istanbul-lib-source-maps": "^1.2.3", "istanbul-reports": "^1.4.0", "md5-hex": "^1.2.0", "merge-source-map": "^1.1.0", "micromatch": "^3.1.10", "mkdirp": "^0.5.0", "resolve-from": "^2.0.0", "rimraf": "^2.6.2", "signal-exit": "^3.0.1", "spawn-wrap": "^1.4.2", "test-exclude": "^4.2.0", "yargs": "11.1.0", "yargs-parser": "^8.0.0" }, "dependencies": { "align-text": { "version": "0.1.4", "bundled": true, "dev": true, "requires": { "kind-of": "^3.0.2", "longest": "^1.0.1", "repeat-string": "^1.5.2" } }, "amdefine": { "version": "1.0.1", "bundled": true, "dev": true }, "ansi-regex": { "version": "2.1.1", "bundled": true, "dev": true }, "ansi-styles": { "version": "2.2.1", "bundled": true, "dev": true }, "append-transform": { "version": "0.4.0", "bundled": true, "dev": true, "requires": { "default-require-extensions": "^1.0.0" } }, "archy": { "version": "1.0.0", "bundled": true, "dev": true }, "arr-diff": { "version": "4.0.0", "bundled": true, "dev": true }, "arr-flatten": { "version": "1.1.0", "bundled": true, "dev": true }, "arr-union": { "version": "3.1.0", "bundled": true, "dev": true }, "array-unique": { "version": "0.3.2", "bundled": true, "dev": true }, "arrify": { "version": "1.0.1", "bundled": true, "dev": true }, "assign-symbols": { "version": "1.0.0", "bundled": true, "dev": true }, "async": { "version": "1.5.2", "bundled": true, "dev": true }, "atob": { "version": "2.1.1", "bundled": true, "dev": true }, "babel-code-frame": { "version": "6.26.0", "bundled": true, "dev": true, "requires": { "chalk": "^1.1.3", "esutils": "^2.0.2", "js-tokens": "^3.0.2" } }, "babel-generator": { "version": "6.26.1", "bundled": true, "dev": true, "requires": { "babel-messages": "^6.23.0", "babel-runtime": "^6.26.0", "babel-types": "^6.26.0", "detect-indent": "^4.0.0", "jsesc": "^1.3.0", "lodash": "^4.17.4", "source-map": "^0.5.7", "trim-right": "^1.0.1" } }, "babel-messages": { "version": "6.23.0", "bundled": true, "dev": true, "requires": { "babel-runtime": "^6.22.0" } }, "babel-runtime": { "version": "6.26.0", "bundled": true, "dev": true, "requires": { "core-js": "^2.4.0", "regenerator-runtime": "^0.11.0" } }, "babel-template": { "version": "6.26.0", "bundled": true, "dev": true, "requires": { "babel-runtime": "^6.26.0", "babel-traverse": "^6.26.0", "babel-types": "^6.26.0", "babylon": "^6.18.0", "lodash": "^4.17.4" } }, "babel-traverse": { "version": "6.26.0", "bundled": true, "dev": true, "requires": { "babel-code-frame": "^6.26.0", "babel-messages": "^6.23.0", "babel-runtime": "^6.26.0", "babel-types": "^6.26.0", "babylon": "^6.18.0", "debug": "^2.6.8", "globals": "^9.18.0", "invariant": "^2.2.2", "lodash": "^4.17.4" } }, "babel-types": { "version": "6.26.0", "bundled": true, "dev": true, "requires": { "babel-runtime": "^6.26.0", "esutils": "^2.0.2", "lodash": "^4.17.4", "to-fast-properties": "^1.0.3" } }, "babylon": { "version": "6.18.0", "bundled": true, "dev": true }, "balanced-match": { "version": "1.0.0", "bundled": true, "dev": true }, "base": { "version": "0.11.2", "bundled": true, "dev": true, "requires": { "cache-base": "^1.0.1", "class-utils": "^0.3.5", "component-emitter": "^1.2.1", "define-property": "^1.0.0", "isobject": "^3.0.1", "mixin-deep": "^1.2.0", "pascalcase": "^0.1.1" }, "dependencies": { "define-property": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "is-descriptor": "^1.0.0" } }, "is-accessor-descriptor": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^6.0.0" } }, "is-data-descriptor": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^6.0.0" } }, "is-descriptor": { "version": "1.0.2", "bundled": true, "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", "kind-of": "^6.0.2" } }, "isobject": { "version": "3.0.1", "bundled": true, "dev": true }, "kind-of": { "version": "6.0.2", "bundled": true, "dev": true } } }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "braces": { "version": "2.3.2", "bundled": true, "dev": true, "requires": { "arr-flatten": "^1.1.0", "array-unique": "^0.3.2", "extend-shallow": "^2.0.1", "fill-range": "^4.0.0", "isobject": "^3.0.1", "repeat-element": "^1.1.2", "snapdragon": "^0.8.1", "snapdragon-node": "^2.0.1", "split-string": "^3.0.2", "to-regex": "^3.0.1" }, "dependencies": { "extend-shallow": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "is-extendable": "^0.1.0" } } } }, "builtin-modules": { "version": "1.1.1", "bundled": true, "dev": true }, "cache-base": { "version": "1.0.1", "bundled": true, "dev": true, "requires": { "collection-visit": "^1.0.0", "component-emitter": "^1.2.1", "get-value": "^2.0.6", "has-value": "^1.0.0", "isobject": "^3.0.1", "set-value": "^2.0.0", "to-object-path": "^0.3.0", "union-value": "^1.0.0", "unset-value": "^1.0.0" }, "dependencies": { "isobject": { "version": "3.0.1", "bundled": true, "dev": true } } }, "caching-transform": { "version": "1.0.1", "bundled": true, "dev": true, "requires": { "md5-hex": "^1.2.0", "mkdirp": "^0.5.1", "write-file-atomic": "^1.1.4" } }, "camelcase": { "version": "1.2.1", "bundled": true, "dev": true, "optional": true }, "center-align": { "version": "0.1.3", "bundled": true, "dev": true, "optional": true, "requires": { "align-text": "^0.1.3", "lazy-cache": "^1.0.3" } }, "chalk": { "version": "1.1.3", "bundled": true, "dev": true, "requires": { "ansi-styles": "^2.2.1", "escape-string-regexp": "^1.0.2", "has-ansi": "^2.0.0", "strip-ansi": "^3.0.0", "supports-color": "^2.0.0" } }, "class-utils": { "version": "0.3.6", "bundled": true, "dev": true, "requires": { "arr-union": "^3.1.0", "define-property": "^0.2.5", "isobject": "^3.0.0", "static-extend": "^0.1.1" }, "dependencies": { "define-property": { "version": "0.2.5", "bundled": true, "dev": true, "requires": { "is-descriptor": "^0.1.0" } }, "isobject": { "version": "3.0.1", "bundled": true, "dev": true } } }, "cliui": { "version": "2.1.0", "bundled": true, "dev": true, "optional": true, "requires": { "center-align": "^0.1.1", "right-align": "^0.1.1", "wordwrap": "0.0.2" }, "dependencies": { "wordwrap": { "version": "0.0.2", "bundled": true, "dev": true, "optional": true } } }, "code-point-at": { "version": "1.1.0", "bundled": true, "dev": true }, "collection-visit": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "map-visit": "^1.0.0", "object-visit": "^1.0.0" } }, "commondir": { "version": "1.0.1", "bundled": true, "dev": true }, "component-emitter": { "version": "1.2.1", "bundled": true, "dev": true }, "concat-map": { "version": "0.0.1", "bundled": true, "dev": true }, "convert-source-map": { "version": "1.5.1", "bundled": true, "dev": true }, "copy-descriptor": { "version": "0.1.1", "bundled": true, "dev": true }, "core-js": { "version": "2.5.6", "bundled": true, "dev": true }, "cross-spawn": { "version": "4.0.2", "bundled": true, "dev": true, "requires": { "lru-cache": "^4.0.1", "which": "^1.2.9" } }, "debug": { "version": "2.6.9", "bundled": true, "dev": true, "requires": { "ms": "2.0.0" } }, "debug-log": { "version": "1.0.1", "bundled": true, "dev": true }, "decamelize": { "version": "1.2.0", "bundled": true, "dev": true }, "decode-uri-component": { "version": "0.2.0", "bundled": true, "dev": true }, "default-require-extensions": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "strip-bom": "^2.0.0" } }, "define-property": { "version": "2.0.2", "bundled": true, "dev": true, "requires": { "is-descriptor": "^1.0.2", "isobject": "^3.0.1" }, "dependencies": { "is-accessor-descriptor": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^6.0.0" } }, "is-data-descriptor": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^6.0.0" } }, "is-descriptor": { "version": "1.0.2", "bundled": true, "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", "kind-of": "^6.0.2" } }, "isobject": { "version": "3.0.1", "bundled": true, "dev": true }, "kind-of": { "version": "6.0.2", "bundled": true, "dev": true } } }, "detect-indent": { "version": "4.0.0", "bundled": true, "dev": true, "requires": { "repeating": "^2.0.0" } }, "error-ex": { "version": "1.3.1", "bundled": true, "dev": true, "requires": { "is-arrayish": "^0.2.1" } }, "escape-string-regexp": { "version": "1.0.5", "bundled": true, "dev": true }, "esutils": { "version": "2.0.2", "bundled": true, "dev": true }, "execa": { "version": "0.7.0", "bundled": true, "dev": true, "requires": { "cross-spawn": "^5.0.1", "get-stream": "^3.0.0", "is-stream": "^1.1.0", "npm-run-path": "^2.0.0", "p-finally": "^1.0.0", "signal-exit": "^3.0.0", "strip-eof": "^1.0.0" }, "dependencies": { "cross-spawn": { "version": "5.1.0", "bundled": true, "dev": true, "requires": { "lru-cache": "^4.0.1", "shebang-command": "^1.2.0", "which": "^1.2.9" } } } }, "expand-brackets": { "version": "2.1.4", "bundled": true, "dev": true, "requires": { "debug": "^2.3.3", "define-property": "^0.2.5", "extend-shallow": "^2.0.1", "posix-character-classes": "^0.1.0", "regex-not": "^1.0.0", "snapdragon": "^0.8.1", "to-regex": "^3.0.1" }, "dependencies": { "define-property": { "version": "0.2.5", "bundled": true, "dev": true, "requires": { "is-descriptor": "^0.1.0" } }, "extend-shallow": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "is-extendable": "^0.1.0" } } } }, "extend-shallow": { "version": "3.0.2", "bundled": true, "dev": true, "requires": { "assign-symbols": "^1.0.0", "is-extendable": "^1.0.1" }, "dependencies": { "is-extendable": { "version": "1.0.1", "bundled": true, "dev": true, "requires": { "is-plain-object": "^2.0.4" } } } }, "extglob": { "version": "2.0.4", "bundled": true, "dev": true, "requires": { "array-unique": "^0.3.2", "define-property": "^1.0.0", "expand-brackets": "^2.1.4", "extend-shallow": "^2.0.1", "fragment-cache": "^0.2.1", "regex-not": "^1.0.0", "snapdragon": "^0.8.1", "to-regex": "^3.0.1" }, "dependencies": { "define-property": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "is-descriptor": "^1.0.0" } }, "extend-shallow": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "is-extendable": "^0.1.0" } }, "is-accessor-descriptor": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^6.0.0" } }, "is-data-descriptor": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^6.0.0" } }, "is-descriptor": { "version": "1.0.2", "bundled": true, "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", "kind-of": "^6.0.2" } }, "kind-of": { "version": "6.0.2", "bundled": true, "dev": true } } }, "fill-range": { "version": "4.0.0", "bundled": true, "dev": true, "requires": { "extend-shallow": "^2.0.1", "is-number": "^3.0.0", "repeat-string": "^1.6.1", "to-regex-range": "^2.1.0" }, "dependencies": { "extend-shallow": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "is-extendable": "^0.1.0" } } } }, "find-cache-dir": { "version": "0.1.1", "bundled": true, "dev": true, "requires": { "commondir": "^1.0.1", "mkdirp": "^0.5.1", "pkg-dir": "^1.0.0" } }, "find-up": { "version": "2.1.0", "bundled": true, "dev": true, "requires": { "locate-path": "^2.0.0" } }, "for-in": { "version": "1.0.2", "bundled": true, "dev": true }, "foreground-child": { "version": "1.5.6", "bundled": true, "dev": true, "requires": { "cross-spawn": "^4", "signal-exit": "^3.0.0" } }, "fragment-cache": { "version": "0.2.1", "bundled": true, "dev": true, "requires": { "map-cache": "^0.2.2" } }, "fs.realpath": { "version": "1.0.0", "bundled": true, "dev": true }, "get-caller-file": { "version": "1.0.2", "bundled": true, "dev": true }, "get-stream": { "version": "3.0.0", "bundled": true, "dev": true }, "get-value": { "version": "2.0.6", "bundled": true, "dev": true }, "glob": { "version": "7.1.2", "bundled": true, "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.0.4", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } }, "globals": { "version": "9.18.0", "bundled": true, "dev": true }, "graceful-fs": { "version": "4.1.11", "bundled": true, "dev": true }, "handlebars": { "version": "4.0.11", "bundled": true, "dev": true, "requires": { "async": "^1.4.0", "optimist": "^0.6.1", "source-map": "^0.4.4", "uglify-js": "^2.6" }, "dependencies": { "source-map": { "version": "0.4.4", "bundled": true, "dev": true, "requires": { "amdefine": ">=0.0.4" } } } }, "has-ansi": { "version": "2.0.0", "bundled": true, "dev": true, "requires": { "ansi-regex": "^2.0.0" } }, "has-flag": { "version": "1.0.0", "bundled": true, "dev": true }, "has-value": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "get-value": "^2.0.6", "has-values": "^1.0.0", "isobject": "^3.0.0" }, "dependencies": { "isobject": { "version": "3.0.1", "bundled": true, "dev": true } } }, "has-values": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "is-number": "^3.0.0", "kind-of": "^4.0.0" }, "dependencies": { "is-number": { "version": "3.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^3.0.2" }, "dependencies": { "kind-of": { "version": "3.2.2", "bundled": true, "dev": true, "requires": { "is-buffer": "^1.1.5" } } } }, "kind-of": { "version": "4.0.0", "bundled": true, "dev": true, "requires": { "is-buffer": "^1.1.5" } } } }, "hosted-git-info": { "version": "2.6.0", "bundled": true, "dev": true }, "imurmurhash": { "version": "0.1.4", "bundled": true, "dev": true }, "inflight": { "version": "1.0.6", "bundled": true, "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" } }, "inherits": { "version": "2.0.3", "bundled": true, "dev": true }, "invariant": { "version": "2.2.4", "bundled": true, "dev": true, "requires": { "loose-envify": "^1.0.0" } }, "invert-kv": { "version": "1.0.0", "bundled": true, "dev": true }, "is-accessor-descriptor": { "version": "0.1.6", "bundled": true, "dev": true, "requires": { "kind-of": "^3.0.2" } }, "is-arrayish": { "version": "0.2.1", "bundled": true, "dev": true }, "is-buffer": { "version": "1.1.6", "bundled": true, "dev": true }, "is-builtin-module": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "builtin-modules": "^1.0.0" } }, "is-data-descriptor": { "version": "0.1.4", "bundled": true, "dev": true, "requires": { "kind-of": "^3.0.2" } }, "is-descriptor": { "version": "0.1.6", "bundled": true, "dev": true, "requires": { "is-accessor-descriptor": "^0.1.6", "is-data-descriptor": "^0.1.4", "kind-of": "^5.0.0" }, "dependencies": { "kind-of": { "version": "5.1.0", "bundled": true, "dev": true } } }, "is-extendable": { "version": "0.1.1", "bundled": true, "dev": true }, "is-finite": { "version": "1.0.2", "bundled": true, "dev": true, "requires": { "number-is-nan": "^1.0.0" } }, "is-fullwidth-code-point": { "version": "2.0.0", "bundled": true, "dev": true }, "is-number": { "version": "3.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^3.0.2" } }, "is-odd": { "version": "2.0.0", "bundled": true, "dev": true, "requires": { "is-number": "^4.0.0" }, "dependencies": { "is-number": { "version": "4.0.0", "bundled": true, "dev": true } } }, "is-plain-object": { "version": "2.0.4", "bundled": true, "dev": true, "requires": { "isobject": "^3.0.1" }, "dependencies": { "isobject": { "version": "3.0.1", "bundled": true, "dev": true } } }, "is-stream": { "version": "1.1.0", "bundled": true, "dev": true }, "is-utf8": { "version": "0.2.1", "bundled": true, "dev": true }, "is-windows": { "version": "1.0.2", "bundled": true, "dev": true }, "isarray": { "version": "1.0.0", "bundled": true, "dev": true }, "isexe": { "version": "2.0.0", "bundled": true, "dev": true }, "isobject": { "version": "3.0.1", "bundled": true, "dev": true }, "istanbul-lib-coverage": { "version": "1.2.0", "bundled": true, "dev": true }, "istanbul-lib-hook": { "version": "1.1.0", "bundled": true, "dev": true, "requires": { "append-transform": "^0.4.0" } }, "istanbul-lib-instrument": { "version": "1.10.1", "bundled": true, "dev": true, "requires": { "babel-generator": "^6.18.0", "babel-template": "^6.16.0", "babel-traverse": "^6.18.0", "babel-types": "^6.18.0", "babylon": "^6.18.0", "istanbul-lib-coverage": "^1.2.0", "semver": "^5.3.0" } }, "istanbul-lib-report": { "version": "1.1.3", "bundled": true, "dev": true, "requires": { "istanbul-lib-coverage": "^1.1.2", "mkdirp": "^0.5.1", "path-parse": "^1.0.5", "supports-color": "^3.1.2" }, "dependencies": { "supports-color": { "version": "3.2.3", "bundled": true, "dev": true, "requires": { "has-flag": "^1.0.0" } } } }, "istanbul-lib-source-maps": { "version": "1.2.3", "bundled": true, "dev": true, "requires": { "debug": "^3.1.0", "istanbul-lib-coverage": "^1.1.2", "mkdirp": "^0.5.1", "rimraf": "^2.6.1", "source-map": "^0.5.3" }, "dependencies": { "debug": { "version": "3.1.0", "bundled": true, "dev": true, "requires": { "ms": "2.0.0" } } } }, "istanbul-reports": { "version": "1.4.0", "bundled": true, "dev": true, "requires": { "handlebars": "^4.0.3" } }, "js-tokens": { "version": "3.0.2", "bundled": true, "dev": true }, "jsesc": { "version": "1.3.0", "bundled": true, "dev": true }, "kind-of": { "version": "3.2.2", "bundled": true, "dev": true, "requires": { "is-buffer": "^1.1.5" } }, "lazy-cache": { "version": "1.0.4", "bundled": true, "dev": true, "optional": true }, "lcid": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "invert-kv": "^1.0.0" } }, "load-json-file": { "version": "1.1.0", "bundled": true, "dev": true, "requires": { "graceful-fs": "^4.1.2", "parse-json": "^2.2.0", "pify": "^2.0.0", "pinkie-promise": "^2.0.0", "strip-bom": "^2.0.0" } }, "locate-path": { "version": "2.0.0", "bundled": true, "dev": true, "requires": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" }, "dependencies": { "path-exists": { "version": "3.0.0", "bundled": true, "dev": true } } }, "lodash": { "version": "4.17.10", "bundled": true, "dev": true }, "longest": { "version": "1.0.1", "bundled": true, "dev": true }, "loose-envify": { "version": "1.3.1", "bundled": true, "dev": true, "requires": { "js-tokens": "^3.0.0" } }, "lru-cache": { "version": "4.1.3", "bundled": true, "dev": true, "requires": { "pseudomap": "^1.0.2", "yallist": "^2.1.2" } }, "map-cache": { "version": "0.2.2", "bundled": true, "dev": true }, "map-visit": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "object-visit": "^1.0.0" } }, "md5-hex": { "version": "1.3.0", "bundled": true, "dev": true, "requires": { "md5-o-matic": "^0.1.1" } }, "md5-o-matic": { "version": "0.1.1", "bundled": true, "dev": true }, "mem": { "version": "1.1.0", "bundled": true, "dev": true, "requires": { "mimic-fn": "^1.0.0" } }, "merge-source-map": { "version": "1.1.0", "bundled": true, "dev": true, "requires": { "source-map": "^0.6.1" }, "dependencies": { "source-map": { "version": "0.6.1", "bundled": true, "dev": true } } }, "micromatch": { "version": "3.1.10", "bundled": true, "dev": true, "requires": { "arr-diff": "^4.0.0", "array-unique": "^0.3.2", "braces": "^2.3.1", "define-property": "^2.0.2", "extend-shallow": "^3.0.2", "extglob": "^2.0.4", "fragment-cache": "^0.2.1", "kind-of": "^6.0.2", "nanomatch": "^1.2.9", "object.pick": "^1.3.0", "regex-not": "^1.0.0", "snapdragon": "^0.8.1", "to-regex": "^3.0.2" }, "dependencies": { "kind-of": { "version": "6.0.2", "bundled": true, "dev": true } } }, "mimic-fn": { "version": "1.2.0", "bundled": true, "dev": true }, "minimatch": { "version": "3.0.4", "bundled": true, "dev": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { "version": "0.0.8", "bundled": true, "dev": true }, "mixin-deep": { "version": "1.3.1", "bundled": true, "dev": true, "requires": { "for-in": "^1.0.2", "is-extendable": "^1.0.1" }, "dependencies": { "is-extendable": { "version": "1.0.1", "bundled": true, "dev": true, "requires": { "is-plain-object": "^2.0.4" } } } }, "mkdirp": { "version": "0.5.1", "bundled": true, "dev": true, "requires": { "minimist": "0.0.8" } }, "ms": { "version": "2.0.0", "bundled": true, "dev": true }, "nanomatch": { "version": "1.2.9", "bundled": true, "dev": true, "requires": { "arr-diff": "^4.0.0", "array-unique": "^0.3.2", "define-property": "^2.0.2", "extend-shallow": "^3.0.2", "fragment-cache": "^0.2.1", "is-odd": "^2.0.0", "is-windows": "^1.0.2", "kind-of": "^6.0.2", "object.pick": "^1.3.0", "regex-not": "^1.0.0", "snapdragon": "^0.8.1", "to-regex": "^3.0.1" }, "dependencies": { "arr-diff": { "version": "4.0.0", "bundled": true, "dev": true }, "array-unique": { "version": "0.3.2", "bundled": true, "dev": true }, "kind-of": { "version": "6.0.2", "bundled": true, "dev": true } } }, "normalize-package-data": { "version": "2.4.0", "bundled": true, "dev": true, "requires": { "hosted-git-info": "^2.1.4", "is-builtin-module": "^1.0.0", "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" } }, "npm-run-path": { "version": "2.0.2", "bundled": true, "dev": true, "requires": { "path-key": "^2.0.0" } }, "number-is-nan": { "version": "1.0.1", "bundled": true, "dev": true }, "object-assign": { "version": "4.1.1", "bundled": true, "dev": true }, "object-copy": { "version": "0.1.0", "bundled": true, "dev": true, "requires": { "copy-descriptor": "^0.1.0", "define-property": "^0.2.5", "kind-of": "^3.0.3" }, "dependencies": { "define-property": { "version": "0.2.5", "bundled": true, "dev": true, "requires": { "is-descriptor": "^0.1.0" } } } }, "object-visit": { "version": "1.0.1", "bundled": true, "dev": true, "requires": { "isobject": "^3.0.0" }, "dependencies": { "isobject": { "version": "3.0.1", "bundled": true, "dev": true } } }, "object.pick": { "version": "1.3.0", "bundled": true, "dev": true, "requires": { "isobject": "^3.0.1" }, "dependencies": { "isobject": { "version": "3.0.1", "bundled": true, "dev": true } } }, "once": { "version": "1.4.0", "bundled": true, "dev": true, "requires": { "wrappy": "1" } }, "optimist": { "version": "0.6.1", "bundled": true, "dev": true, "requires": { "minimist": "~0.0.1", "wordwrap": "~0.0.2" } }, "os-homedir": { "version": "1.0.2", "bundled": true, "dev": true }, "os-locale": { "version": "2.1.0", "bundled": true, "dev": true, "requires": { "execa": "^0.7.0", "lcid": "^1.0.0", "mem": "^1.1.0" } }, "p-finally": { "version": "1.0.0", "bundled": true, "dev": true }, "p-limit": { "version": "1.2.0", "bundled": true, "dev": true, "requires": { "p-try": "^1.0.0" } }, "p-locate": { "version": "2.0.0", "bundled": true, "dev": true, "requires": { "p-limit": "^1.1.0" } }, "p-try": { "version": "1.0.0", "bundled": true, "dev": true }, "parse-json": { "version": "2.2.0", "bundled": true, "dev": true, "requires": { "error-ex": "^1.2.0" } }, "pascalcase": { "version": "0.1.1", "bundled": true, "dev": true }, "path-exists": { "version": "2.1.0", "bundled": true, "dev": true, "requires": { "pinkie-promise": "^2.0.0" } }, "path-is-absolute": { "version": "1.0.1", "bundled": true, "dev": true }, "path-key": { "version": "2.0.1", "bundled": true, "dev": true }, "path-parse": { "version": "1.0.5", "bundled": true, "dev": true }, "path-type": { "version": "1.1.0", "bundled": true, "dev": true, "requires": { "graceful-fs": "^4.1.2", "pify": "^2.0.0", "pinkie-promise": "^2.0.0" } }, "pify": { "version": "2.3.0", "bundled": true, "dev": true }, "pinkie": { "version": "2.0.4", "bundled": true, "dev": true }, "pinkie-promise": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "pinkie": "^2.0.0" } }, "pkg-dir": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "find-up": "^1.0.0" }, "dependencies": { "find-up": { "version": "1.1.2", "bundled": true, "dev": true, "requires": { "path-exists": "^2.0.0", "pinkie-promise": "^2.0.0" } } } }, "posix-character-classes": { "version": "0.1.1", "bundled": true, "dev": true }, "pseudomap": { "version": "1.0.2", "bundled": true, "dev": true }, "read-pkg": { "version": "1.1.0", "bundled": true, "dev": true, "requires": { "load-json-file": "^1.0.0", "normalize-package-data": "^2.3.2", "path-type": "^1.0.0" } }, "read-pkg-up": { "version": "1.0.1", "bundled": true, "dev": true, "requires": { "find-up": "^1.0.0", "read-pkg": "^1.0.0" }, "dependencies": { "find-up": { "version": "1.1.2", "bundled": true, "dev": true, "requires": { "path-exists": "^2.0.0", "pinkie-promise": "^2.0.0" } } } }, "regenerator-runtime": { "version": "0.11.1", "bundled": true, "dev": true }, "regex-not": { "version": "1.0.2", "bundled": true, "dev": true, "requires": { "extend-shallow": "^3.0.2", "safe-regex": "^1.1.0" } }, "repeat-element": { "version": "1.1.2", "bundled": true, "dev": true }, "repeat-string": { "version": "1.6.1", "bundled": true, "dev": true }, "repeating": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "is-finite": "^1.0.0" } }, "require-directory": { "version": "2.1.1", "bundled": true, "dev": true }, "require-main-filename": { "version": "1.0.1", "bundled": true, "dev": true }, "resolve-from": { "version": "2.0.0", "bundled": true, "dev": true }, "resolve-url": { "version": "0.2.1", "bundled": true, "dev": true }, "ret": { "version": "0.1.15", "bundled": true, "dev": true }, "right-align": { "version": "0.1.3", "bundled": true, "dev": true, "optional": true, "requires": { "align-text": "^0.1.1" } }, "rimraf": { "version": "2.6.2", "bundled": true, "dev": true, "requires": { "glob": "^7.0.5" } }, "safe-regex": { "version": "1.1.0", "bundled": true, "dev": true, "requires": { "ret": "~0.1.10" } }, "semver": { "version": "5.5.0", "bundled": true, "dev": true }, "set-blocking": { "version": "2.0.0", "bundled": true, "dev": true }, "set-value": { "version": "2.0.0", "bundled": true, "dev": true, "requires": { "extend-shallow": "^2.0.1", "is-extendable": "^0.1.1", "is-plain-object": "^2.0.3", "split-string": "^3.0.1" }, "dependencies": { "extend-shallow": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "is-extendable": "^0.1.0" } } } }, "shebang-command": { "version": "1.2.0", "bundled": true, "dev": true, "requires": { "shebang-regex": "^1.0.0" } }, "shebang-regex": { "version": "1.0.0", "bundled": true, "dev": true }, "signal-exit": { "version": "3.0.2", "bundled": true, "dev": true }, "slide": { "version": "1.1.6", "bundled": true, "dev": true }, "snapdragon": { "version": "0.8.2", "bundled": true, "dev": true, "requires": { "base": "^0.11.1", "debug": "^2.2.0", "define-property": "^0.2.5", "extend-shallow": "^2.0.1", "map-cache": "^0.2.2", "source-map": "^0.5.6", "source-map-resolve": "^0.5.0", "use": "^3.1.0" }, "dependencies": { "define-property": { "version": "0.2.5", "bundled": true, "dev": true, "requires": { "is-descriptor": "^0.1.0" } }, "extend-shallow": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "is-extendable": "^0.1.0" } } } }, "snapdragon-node": { "version": "2.1.1", "bundled": true, "dev": true, "requires": { "define-property": "^1.0.0", "isobject": "^3.0.0", "snapdragon-util": "^3.0.1" }, "dependencies": { "define-property": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "is-descriptor": "^1.0.0" } }, "is-accessor-descriptor": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^6.0.0" } }, "is-data-descriptor": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^6.0.0" } }, "is-descriptor": { "version": "1.0.2", "bundled": true, "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", "kind-of": "^6.0.2" } }, "isobject": { "version": "3.0.1", "bundled": true, "dev": true }, "kind-of": { "version": "6.0.2", "bundled": true, "dev": true } } }, "snapdragon-util": { "version": "3.0.1", "bundled": true, "dev": true, "requires": { "kind-of": "^3.2.0" } }, "source-map": { "version": "0.5.7", "bundled": true, "dev": true }, "source-map-resolve": { "version": "0.5.1", "bundled": true, "dev": true, "requires": { "atob": "^2.0.0", "decode-uri-component": "^0.2.0", "resolve-url": "^0.2.1", "source-map-url": "^0.4.0", "urix": "^0.1.0" } }, "source-map-url": { "version": "0.4.0", "bundled": true, "dev": true }, "spawn-wrap": { "version": "1.4.2", "bundled": true, "dev": true, "requires": { "foreground-child": "^1.5.6", "mkdirp": "^0.5.0", "os-homedir": "^1.0.1", "rimraf": "^2.6.2", "signal-exit": "^3.0.2", "which": "^1.3.0" } }, "spdx-correct": { "version": "3.0.0", "bundled": true, "dev": true, "requires": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" } }, "spdx-exceptions": { "version": "2.1.0", "bundled": true, "dev": true }, "spdx-expression-parse": { "version": "3.0.0", "bundled": true, "dev": true, "requires": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" } }, "spdx-license-ids": { "version": "3.0.0", "bundled": true, "dev": true }, "split-string": { "version": "3.1.0", "bundled": true, "dev": true, "requires": { "extend-shallow": "^3.0.0" } }, "static-extend": { "version": "0.1.2", "bundled": true, "dev": true, "requires": { "define-property": "^0.2.5", "object-copy": "^0.1.0" }, "dependencies": { "define-property": { "version": "0.2.5", "bundled": true, "dev": true, "requires": { "is-descriptor": "^0.1.0" } } } }, "string-width": { "version": "2.1.1", "bundled": true, "dev": true, "requires": { "is-fullwidth-code-point": "^2.0.0", "strip-ansi": "^4.0.0" }, "dependencies": { "ansi-regex": { "version": "3.0.0", "bundled": true, "dev": true }, "strip-ansi": { "version": "4.0.0", "bundled": true, "dev": true, "requires": { "ansi-regex": "^3.0.0" } } } }, "strip-ansi": { "version": "3.0.1", "bundled": true, "dev": true, "requires": { "ansi-regex": "^2.0.0" } }, "strip-bom": { "version": "2.0.0", "bundled": true, "dev": true, "requires": { "is-utf8": "^0.2.0" } }, "strip-eof": { "version": "1.0.0", "bundled": true, "dev": true }, "supports-color": { "version": "2.0.0", "bundled": true, "dev": true }, "test-exclude": { "version": "4.2.1", "bundled": true, "dev": true, "requires": { "arrify": "^1.0.1", "micromatch": "^3.1.8", "object-assign": "^4.1.0", "read-pkg-up": "^1.0.1", "require-main-filename": "^1.0.1" }, "dependencies": { "arr-diff": { "version": "4.0.0", "bundled": true, "dev": true }, "array-unique": { "version": "0.3.2", "bundled": true, "dev": true }, "braces": { "version": "2.3.2", "bundled": true, "dev": true, "requires": { "arr-flatten": "^1.1.0", "array-unique": "^0.3.2", "extend-shallow": "^2.0.1", "fill-range": "^4.0.0", "isobject": "^3.0.1", "repeat-element": "^1.1.2", "snapdragon": "^0.8.1", "snapdragon-node": "^2.0.1", "split-string": "^3.0.2", "to-regex": "^3.0.1" }, "dependencies": { "extend-shallow": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "is-extendable": "^0.1.0" } } } }, "expand-brackets": { "version": "2.1.4", "bundled": true, "dev": true, "requires": { "debug": "^2.3.3", "define-property": "^0.2.5", "extend-shallow": "^2.0.1", "posix-character-classes": "^0.1.0", "regex-not": "^1.0.0", "snapdragon": "^0.8.1", "to-regex": "^3.0.1" }, "dependencies": { "define-property": { "version": "0.2.5", "bundled": true, "dev": true, "requires": { "is-descriptor": "^0.1.0" } }, "extend-shallow": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "is-extendable": "^0.1.0" } }, "is-accessor-descriptor": { "version": "0.1.6", "bundled": true, "dev": true, "requires": { "kind-of": "^3.0.2" }, "dependencies": { "kind-of": { "version": "3.2.2", "bundled": true, "dev": true, "requires": { "is-buffer": "^1.1.5" } } } }, "is-data-descriptor": { "version": "0.1.4", "bundled": true, "dev": true, "requires": { "kind-of": "^3.0.2" }, "dependencies": { "kind-of": { "version": "3.2.2", "bundled": true, "dev": true, "requires": { "is-buffer": "^1.1.5" } } } }, "is-descriptor": { "version": "0.1.6", "bundled": true, "dev": true, "requires": { "is-accessor-descriptor": "^0.1.6", "is-data-descriptor": "^0.1.4", "kind-of": "^5.0.0" } }, "kind-of": { "version": "5.1.0", "bundled": true, "dev": true } } }, "extglob": { "version": "2.0.4", "bundled": true, "dev": true, "requires": { "array-unique": "^0.3.2", "define-property": "^1.0.0", "expand-brackets": "^2.1.4", "extend-shallow": "^2.0.1", "fragment-cache": "^0.2.1", "regex-not": "^1.0.0", "snapdragon": "^0.8.1", "to-regex": "^3.0.1" }, "dependencies": { "define-property": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "is-descriptor": "^1.0.0" } }, "extend-shallow": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "is-extendable": "^0.1.0" } } } }, "fill-range": { "version": "4.0.0", "bundled": true, "dev": true, "requires": { "extend-shallow": "^2.0.1", "is-number": "^3.0.0", "repeat-string": "^1.6.1", "to-regex-range": "^2.1.0" }, "dependencies": { "extend-shallow": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "is-extendable": "^0.1.0" } } } }, "is-accessor-descriptor": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^6.0.0" } }, "is-data-descriptor": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^6.0.0" } }, "is-descriptor": { "version": "1.0.2", "bundled": true, "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", "kind-of": "^6.0.2" } }, "is-number": { "version": "3.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^3.0.2" }, "dependencies": { "kind-of": { "version": "3.2.2", "bundled": true, "dev": true, "requires": { "is-buffer": "^1.1.5" } } } }, "isobject": { "version": "3.0.1", "bundled": true, "dev": true }, "kind-of": { "version": "6.0.2", "bundled": true, "dev": true }, "micromatch": { "version": "3.1.10", "bundled": true, "dev": true, "requires": { "arr-diff": "^4.0.0", "array-unique": "^0.3.2", "braces": "^2.3.1", "define-property": "^2.0.2", "extend-shallow": "^3.0.2", "extglob": "^2.0.4", "fragment-cache": "^0.2.1", "kind-of": "^6.0.2", "nanomatch": "^1.2.9", "object.pick": "^1.3.0", "regex-not": "^1.0.0", "snapdragon": "^0.8.1", "to-regex": "^3.0.2" } } } }, "to-fast-properties": { "version": "1.0.3", "bundled": true, "dev": true }, "to-object-path": { "version": "0.3.0", "bundled": true, "dev": true, "requires": { "kind-of": "^3.0.2" } }, "to-regex": { "version": "3.0.2", "bundled": true, "dev": true, "requires": { "define-property": "^2.0.2", "extend-shallow": "^3.0.2", "regex-not": "^1.0.2", "safe-regex": "^1.1.0" } }, "to-regex-range": { "version": "2.1.1", "bundled": true, "dev": true, "requires": { "is-number": "^3.0.0", "repeat-string": "^1.6.1" }, "dependencies": { "is-number": { "version": "3.0.0", "bundled": true, "dev": true, "requires": { "kind-of": "^3.0.2" } } } }, "trim-right": { "version": "1.0.1", "bundled": true, "dev": true }, "uglify-js": { "version": "2.8.29", "bundled": true, "dev": true, "optional": true, "requires": { "source-map": "~0.5.1", "uglify-to-browserify": "~1.0.0", "yargs": "~3.10.0" }, "dependencies": { "yargs": { "version": "3.10.0", "bundled": true, "dev": true, "optional": true, "requires": { "camelcase": "^1.0.2", "cliui": "^2.1.0", "decamelize": "^1.0.0", "window-size": "0.1.0" } } } }, "uglify-to-browserify": { "version": "1.0.2", "bundled": true, "dev": true, "optional": true }, "union-value": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "arr-union": "^3.1.0", "get-value": "^2.0.6", "is-extendable": "^0.1.1", "set-value": "^0.4.3" }, "dependencies": { "extend-shallow": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "is-extendable": "^0.1.0" } }, "set-value": { "version": "0.4.3", "bundled": true, "dev": true, "requires": { "extend-shallow": "^2.0.1", "is-extendable": "^0.1.1", "is-plain-object": "^2.0.1", "to-object-path": "^0.3.0" } } } }, "unset-value": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "has-value": "^0.3.1", "isobject": "^3.0.0" }, "dependencies": { "has-value": { "version": "0.3.1", "bundled": true, "dev": true, "requires": { "get-value": "^2.0.3", "has-values": "^0.1.4", "isobject": "^2.0.0" }, "dependencies": { "isobject": { "version": "2.1.0", "bundled": true, "dev": true, "requires": { "isarray": "1.0.0" } } } }, "has-values": { "version": "0.1.4", "bundled": true, "dev": true }, "isobject": { "version": "3.0.1", "bundled": true, "dev": true } } }, "urix": { "version": "0.1.0", "bundled": true, "dev": true }, "use": { "version": "3.1.0", "bundled": true, "dev": true, "requires": { "kind-of": "^6.0.2" }, "dependencies": { "kind-of": { "version": "6.0.2", "bundled": true, "dev": true } } }, "validate-npm-package-license": { "version": "3.0.3", "bundled": true, "dev": true, "requires": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" } }, "which": { "version": "1.3.0", "bundled": true, "dev": true, "requires": { "isexe": "^2.0.0" } }, "which-module": { "version": "2.0.0", "bundled": true, "dev": true }, "window-size": { "version": "0.1.0", "bundled": true, "dev": true, "optional": true }, "wordwrap": { "version": "0.0.3", "bundled": true, "dev": true }, "wrap-ansi": { "version": "2.1.0", "bundled": true, "dev": true, "requires": { "string-width": "^1.0.1", "strip-ansi": "^3.0.1" }, "dependencies": { "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "number-is-nan": "^1.0.0" } }, "string-width": { "version": "1.0.2", "bundled": true, "dev": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", "strip-ansi": "^3.0.0" } } } }, "wrappy": { "version": "1.0.2", "bundled": true, "dev": true }, "write-file-atomic": { "version": "1.3.4", "bundled": true, "dev": true, "requires": { "graceful-fs": "^4.1.11", "imurmurhash": "^0.1.4", "slide": "^1.1.5" } }, "y18n": { "version": "3.2.1", "bundled": true, "dev": true }, "yallist": { "version": "2.1.2", "bundled": true, "dev": true }, "yargs": { "version": "11.1.0", "bundled": true, "dev": true, "requires": { "cliui": "^4.0.0", "decamelize": "^1.1.1", "find-up": "^2.1.0", "get-caller-file": "^1.0.1", "os-locale": "^2.0.0", "require-directory": "^2.1.1", "require-main-filename": "^1.0.1", "set-blocking": "^2.0.0", "string-width": "^2.0.0", "which-module": "^2.0.0", "y18n": "^3.2.1", "yargs-parser": "^9.0.2" }, "dependencies": { "ansi-regex": { "version": "3.0.0", "bundled": true, "dev": true }, "camelcase": { "version": "4.1.0", "bundled": true, "dev": true }, "cliui": { "version": "4.1.0", "bundled": true, "dev": true, "requires": { "string-width": "^2.1.1", "strip-ansi": "^4.0.0", "wrap-ansi": "^2.0.0" } }, "strip-ansi": { "version": "4.0.0", "bundled": true, "dev": true, "requires": { "ansi-regex": "^3.0.0" } }, "yargs-parser": { "version": "9.0.2", "bundled": true, "dev": true, "requires": { "camelcase": "^4.1.0" } } } }, "yargs-parser": { "version": "8.1.0", "bundled": true, "dev": true, "requires": { "camelcase": "^4.1.0" }, "dependencies": { "camelcase": { "version": "4.1.0", "bundled": true, "dev": true } } } } }, "oauth-sign": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=", "dev": true }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, "requires": { "wrappy": "1" } }, "opener": { "version": "1.4.3", "resolved": "https://registry.npmjs.org/opener/-/opener-1.4.3.tgz", "integrity": "sha1-XG2ixdflgx6P+jlklQ+NZnSskLg=", "dev": true }, "os-homedir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", "dev": true }, "own-or": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/own-or/-/own-or-1.0.0.tgz", "integrity": "sha1-Tod/vtqaLsgAD7wLyuOWRe6L+Nw=", "dev": true }, "own-or-env": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/own-or-env/-/own-or-env-1.0.1.tgz", "integrity": "sha512-y8qULRbRAlL6x2+M0vIe7jJbJx/kmUTzYonRAa2ayesR2qWLswninkVyeJe4x3IEXhdgoNodzjQRKAoEs6Fmrw==", "dev": true, "requires": { "own-or": "^1.0.0" } }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", "dev": true }, "process-nextick-args": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", "dev": true }, "pseudomap": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", "dev": true }, "pump": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/pump/-/pump-1.0.3.tgz", "integrity": "sha512-8k0JupWme55+9tCVE+FS5ULT3K6AbgqrGa58lTT49RpyfwwcGedHqaC5LlQNdEAumn/wFsu6aPwkuPMioy8kqw==", "dev": true, "requires": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, "punycode": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", "dev": true }, "qs": { "version": "6.5.2", "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", "dev": true }, "readable-stream": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "dev": true, "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "request": { "version": "2.87.0", "resolved": "https://registry.npmjs.org/request/-/request-2.87.0.tgz", "integrity": "sha512-fcogkm7Az5bsS6Sl0sibkbhcKsnyon/jV1kF3ajGmF0c8HrttdKTPRT9hieOaQHA5HEq6r8OyWOo/o781C1tNw==", "dev": true, "requires": { "aws-sign2": "~0.7.0", "aws4": "^1.6.0", "caseless": "~0.12.0", "combined-stream": "~1.0.5", "extend": "~3.0.1", "forever-agent": "~0.6.1", "form-data": "~2.3.1", "har-validator": "~5.0.3", "http-signature": "~1.2.0", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", "json-stringify-safe": "~5.0.1", "mime-types": "~2.1.17", "oauth-sign": "~0.8.2", "performance-now": "^2.1.0", "qs": "~6.5.1", "safe-buffer": "^5.1.1", "tough-cookie": "~2.3.3", "tunnel-agent": "^0.6.0", "uuid": "^3.1.0" } }, "rimraf": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", "dev": true, "requires": { "glob": "^7.0.5" } }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "signal-exit": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "dev": true }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true }, "source-map-support": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.6.tgz", "integrity": "sha512-N4KXEz7jcKqPf2b2vZF11lQIz9W5ZMuUcIOGj243lduidkf2fjkVKJS9vNxVWn3u/uxX38AcE8U9nnH9FPcq+g==", "dev": true, "requires": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" } }, "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, "sshpk": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.1.tgz", "integrity": "sha1-Ew9Zde3a2WPx1W+SuaxsUfqfg+s=", "dev": true, "requires": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", "bcrypt-pbkdf": "^1.0.0", "dashdash": "^1.12.0", "ecc-jsbn": "~0.1.1", "getpass": "^0.1.1", "jsbn": "~0.1.0", "tweetnacl": "~0.14.0" } }, "stack-utils": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.1.tgz", "integrity": "sha1-1PM6tU6OOHeLDKXP07OvsS22hiA=", "dev": true }, "string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, "requires": { "safe-buffer": "~5.1.0" } }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { "ansi-regex": "^2.0.0" } }, "tap": { "version": "12.0.1", "resolved": "https://registry.npmjs.org/tap/-/tap-12.0.1.tgz", "integrity": "sha512-iEJytWaZy8risvfRjuV4+ST+Lrrui/MW2ZCWn01ZaMn0NKFej4+PpBy6bXGOg9+cEGNmI7d3Sdka/zTUZUGidA==", "dev": true, "requires": { "bind-obj-methods": "^2.0.0", "bluebird": "^3.5.1", "clean-yaml-object": "^0.1.0", "color-support": "^1.1.0", "coveralls": "^3.0.1", "foreground-child": "^1.3.3", "fs-exists-cached": "^1.0.0", "function-loop": "^1.0.1", "glob": "^7.0.0", "isexe": "^2.0.0", "js-yaml": "^3.11.0", "minipass": "^2.3.0", "mkdirp": "^0.5.1", "nyc": "^11.8.0", "opener": "^1.4.1", "os-homedir": "^1.0.2", "own-or": "^1.0.0", "own-or-env": "^1.0.1", "rimraf": "^2.6.2", "signal-exit": "^3.0.0", "source-map-support": "^0.5.6", "stack-utils": "^1.0.0", "tap-mocha-reporter": "^3.0.7", "tap-parser": "^7.0.0", "tmatch": "^4.0.0", "trivial-deferred": "^1.0.1", "tsame": "^2.0.0", "write-file-atomic": "^2.3.0", "yapool": "^1.0.0" } }, "tap-mocha-reporter": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/tap-mocha-reporter/-/tap-mocha-reporter-3.0.7.tgz", "integrity": "sha512-GHVXJ38C3oPRpM3YUc43JlGdpVZYiKeT1fmAd3HH2+J+ZWwsNAUFvRRdoGsXLw9+gU9o+zXpBqhS/oXyRQYwlA==", "dev": true, "requires": { "color-support": "^1.1.0", "debug": "^2.1.3", "diff": "^1.3.2", "escape-string-regexp": "^1.0.3", "glob": "^7.0.5", "js-yaml": "^3.3.1", "readable-stream": "^2.1.5", "tap-parser": "^5.1.0", "unicode-length": "^1.0.0" }, "dependencies": { "tap-parser": { "version": "5.4.0", "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-5.4.0.tgz", "integrity": "sha512-BIsIaGqv7uTQgTW1KLTMNPSEQf4zDDPgYOBRdgOfuB+JFOLRBfEu6cLa/KvMvmqggu1FKXDfitjLwsq4827RvA==", "dev": true, "requires": { "events-to-array": "^1.0.1", "js-yaml": "^3.2.7", "readable-stream": "^2" } } } }, "tap-parser": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-7.0.0.tgz", "integrity": "sha512-05G8/LrzqOOFvZhhAk32wsGiPZ1lfUrl+iV7+OkKgfofZxiceZWMHkKmow71YsyVQ8IvGBP2EjcIjE5gL4l5lA==", "dev": true, "requires": { "events-to-array": "^1.0.1", "js-yaml": "^3.2.7", "minipass": "^2.2.0" } }, "tar-fs": { "version": "1.16.2", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-1.16.2.tgz", "integrity": "sha512-LdknWjPEiZC1nOBwhv0JBzfJBGPJar08dZg2rwZe0ZTLQoRGEzgrl7vF3qUEkCHpI/wN9e7RyCuDhMsJUCLPPQ==", "dev": true, "requires": { "chownr": "^1.0.1", "mkdirp": "^0.5.1", "pump": "^1.0.0", "tar-stream": "^1.1.2" } }, "tar-stream": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.0.tgz", "integrity": "sha512-lh2iAPG/BHNmN6WB9Ybdynk9rEJ5GD/dy4zscHmVlwa1dq2tpE+BH78i5vjYwYVWEaOXGBjzxr89aVACF17Cpw==", "dev": true, "requires": { "bl": "^1.0.0", "buffer-alloc": "^1.1.0", "end-of-stream": "^1.0.0", "fs-constants": "^1.0.0", "readable-stream": "^2.0.0", "to-buffer": "^1.1.0", "xtend": "^4.0.0" } }, "tmatch": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/tmatch/-/tmatch-4.0.0.tgz", "integrity": "sha512-Ynn2Gsp+oCvYScQXeV+cCs7citRDilq0qDXA6tuvFwDgiYyyaq7D5vKUlAPezzZR5NDobc/QMeN6e5guOYmvxg==", "dev": true }, "to-buffer": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz", "integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg==", "dev": true }, "tough-cookie": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz", "integrity": "sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA==", "dev": true, "requires": { "punycode": "^1.4.1" } }, "trivial-deferred": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/trivial-deferred/-/trivial-deferred-1.0.1.tgz", "integrity": "sha1-N21NKdlR1jaKb3oK6FwvTV4GWPM=", "dev": true }, "tsame": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/tsame/-/tsame-2.0.0.tgz", "integrity": "sha512-dAuzcnOPdqZYojylFQzEes95UDjve3HqKrlTCeLZKSDPMTsn3smzHZqsJj/sWD8wOUkg0RD++B11evyLn2+bIw==", "dev": true }, "tunnel-agent": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", "dev": true, "requires": { "safe-buffer": "^5.0.1" } }, "tweetnacl": { "version": "0.14.5", "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", "dev": true, "optional": true }, "unicode-length": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/unicode-length/-/unicode-length-1.0.3.tgz", "integrity": "sha1-Wtp6f+1RhBpBijKM8UlHisg1irs=", "dev": true, "requires": { "punycode": "^1.3.2", "strip-ansi": "^3.0.1" } }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, "uuid": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz", "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==", "dev": true }, "verror": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", "dev": true, "requires": { "assert-plus": "^1.0.0", "core-util-is": "1.0.2", "extsprintf": "^1.2.0" } }, "which": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz", "integrity": "sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==", "dev": true, "requires": { "isexe": "^2.0.0" } }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "dev": true }, "write-file-atomic": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.3.0.tgz", "integrity": "sha512-xuPeK4OdjWqtfi59ylvVL0Yn35SF3zgcAcv7rBPFHVaEapaDr4GdGgm3j7ckTwH9wHL7fGmgfAnb0+THrHb8tA==", "dev": true, "requires": { "graceful-fs": "^4.1.11", "imurmurhash": "^0.1.4", "signal-exit": "^3.0.2" } }, "xtend": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", "dev": true }, "yallist": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.2.tgz", "integrity": "sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k=" }, "yapool": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/yapool/-/yapool-1.0.0.tgz", "integrity": "sha1-9pPymjFbUNmp2iZGp6ZkXJaYW2o=", "dev": true } } } node-tar-4.4.6/package.json000066400000000000000000000022151333044642000155230ustar00rootroot00000000000000{ "author": "Isaac Z. Schlueter (http://blog.izs.me/)", "name": "tar", "description": "tar for node", "version": "4.4.6", "repository": { "type": "git", "url": "https://github.com/npm/node-tar.git" }, "scripts": { "test": "tap test/*.js --100 -J --coverage-report=text -c", "preversion": "npm test", "postversion": "npm publish", "postpublish": "git push origin --all; git push origin --tags", "genparse": "node scripts/generate-parse-fixtures.js", "bench": "for i in benchmarks/*/*.js; do echo $i; for j in {1..5}; do node $i || break; done; done" }, "dependencies": { "chownr": "^1.0.1", "fs-minipass": "^1.2.5", "minipass": "^2.3.3", "minizlib": "^1.1.0", "mkdirp": "^0.5.0", "safe-buffer": "^5.1.2", "yallist": "^3.0.2" }, "devDependencies": { "chmodr": "^1.0.2", "end-of-stream": "^1.4.1", "events-to-array": "^1.1.2", "mutate-fs": "^2.1.1", "rimraf": "^2.6.2", "tap": "^12.0.1", "tar-fs": "^1.16.2", "tar-stream": "^1.6.0" }, "license": "ISC", "engines": { "node": ">=4.5" }, "files": [ "index.js", "lib/" ] } node-tar-4.4.6/scripts/000077500000000000000000000000001333044642000147245ustar00rootroot00000000000000node-tar-4.4.6/scripts/generate-parse-fixtures.js000066400000000000000000000055601333044642000220410ustar00rootroot00000000000000'use strict' const Parse = require('../lib/parse.js') const fs = require('fs') const path = require('path') const tardir = path.resolve(__dirname, '../test/fixtures/tars') const parsedir = path.resolve(__dirname, '../test/fixtures/parse') const maxMetaOpt = [250, null] const filterOpt = [ true, false ] const strictOpt = [ true, false ] const makeTest = (tarfile, tardata, maxMeta, filter, strict) => { const o = (maxMeta ? '-meta-' + maxMeta : '') + (filter ? '-filter' : '') + (strict ? '-strict' : '') const tail = (o ? '-' + o : '') + '.json' const eventsfile = parsedir + '/' + path.basename(tarfile, '.tar') + tail const p = new Parse({ maxMetaEntrySize: maxMeta, filter: filter ? (path, entry) => entry.size % 2 !== 0 : null, strict: strict }) const events = [] const pushEntry = type => entry => { events.push([type, { extended: entry.extended, globalExtended: entry.globalExtended, type: entry.type, meta: entry.meta, ignore: entry.ignore, path: entry.path, mode: entry.mode, uid: entry.uid, gid: entry.gid, uname: entry.uname, gname: entry.gname, size: entry.size, mtime: entry.mtime, atime: entry.atime, ctime: entry.ctime, linkpath: entry.linkpath, header: { cksumValid: entry.header.cksumValid, needPax: entry.header.needPax, path: entry.header.path, mode: entry.header.mode, uid: entry.header.uid, gid: entry.header.gid, size: entry.header.size, mtime: entry.header.mtime, cksum: entry.header.cksum, linkpath: entry.header.linkpath, ustar: entry.header.ustar, ustarver: entry.header.ustarver, uname: entry.header.uname, gname: entry.header.gname, devmaj: entry.header.devmaj, devmin: entry.header.devmin, ustarPrefix: entry.header.ustarPrefix, xstarPrefix: entry.header.xstarPrefix, prefixTerminator: entry.header.prefixTerminator, atime: entry.header.atime, ctime: entry.header.atime } }]) entry.resume() } p.on('entry', pushEntry('entry')) p.on('ignoredEntry', pushEntry('ignoredEntry')) p.on('warn', (message, data) => events.push(['warn', message])) p.on('error', er => events.push(['error', { message: er.message }])) p.on('end', _ => events.push(['end'])) p.on('nullBlock', _ => events.push(['nullBlock'])) p.on('meta', meta => events.push(['meta', meta])) p.end(tardata) console.log(eventsfile) fs.writeFileSync(eventsfile, JSON.stringify(events, null, 2) + '\n') } fs.readdirSync(tardir) .forEach(tar => { const tarfile = tardir + '/' + tar const tardata = fs.readFileSync(tarfile) maxMetaOpt.forEach(maxMeta => filterOpt.forEach(filter => strictOpt.forEach(strict => makeTest(tarfile, tardata, maxMeta, filter, strict)))) }) node-tar-4.4.6/test/000077500000000000000000000000001333044642000142145ustar00rootroot00000000000000node-tar-4.4.6/test/create.js000066400000000000000000000120011333044642000160070ustar00rootroot00000000000000'use strict' const t = require('tap') const c = require('../lib/create.js') const list = require('../lib/list.js') const fs = require('fs') const path = require('path') const dir = path.resolve(__dirname, 'fixtures/create') const tars = path.resolve(__dirname, 'fixtures/tars') const rimraf = require('rimraf') const mkdirp = require('mkdirp') const spawn = require('child_process').spawn const Pack = require('../lib/pack.js') const mutateFS = require('mutate-fs') const readtar = (file, cb) => { const child = spawn('tar', ['tf', file]) const out = [] child.stdout.on('data', c => out.push(c)) child.on('close', (code, signal) => cb(code, signal, Buffer.concat(out).toString())) } t.teardown(_ => rimraf.sync(dir)) t.test('setup', t => { rimraf.sync(dir) mkdirp.sync(dir) t.end() }) t.test('no cb if sync or without file', t => { t.throws(_ => c({ sync: true }, ['asdf'], _=>_)) t.throws(_ => c(_=>_)) t.throws(_ => c({}, _=>_)) t.throws(_ => c({}, ['asdf'], _=>_)) t.end() }) t.test('create file', t => { const files = [ path.basename(__filename) ] t.test('sync', t => { const file = path.resolve(dir, 'sync.tar') c({ file: file, cwd: __dirname, sync: true }, files) readtar(file, (code, signal, list) => { t.equal(code, 0) t.equal(signal, null) t.equal(list.trim(), 'create.js') t.end() }) }) t.test('async', t => { const file = path.resolve(dir, 'async.tar') c({ file: file, cwd: __dirname }, files, er => { if (er) throw er readtar(file, (code, signal, list) => { t.equal(code, 0) t.equal(signal, null) t.equal(list.trim(), 'create.js') t.end() }) }) }) t.test('async promise only', t => { const file = path.resolve(dir, 'promise.tar') c({ file: file, cwd: __dirname }, files).then(_ => { readtar(file, (code, signal, list) => { t.equal(code, 0) t.equal(signal, null) t.equal(list.trim(), 'create.js') t.end() }) }) }) t.test('with specific mode', t => { const mode = 0o740 t.test('sync', t => { const file = path.resolve(dir, 'sync-mode.tar') c({ mode: mode, file: file, cwd: __dirname, sync: true }, files) readtar(file, (code, signal, list) => { t.equal(code, 0) t.equal(signal, null) t.equal(list.trim(), 'create.js') t.equal(fs.lstatSync(file).mode & 0o7777, mode) t.end() }) }) t.test('async', t => { const file = path.resolve(dir, 'async-mode.tar') c({ mode: mode, file: file, cwd: __dirname }, files, er => { if (er) throw er readtar(file, (code, signal, list) => { t.equal(code, 0) t.equal(signal, null) t.equal(list.trim(), 'create.js') t.equal(fs.lstatSync(file).mode & 0o7777, mode) t.end() }) }) }) t.end() }) t.end() }) t.test('create', t => { t.isa(c({ sync: true }, ['README.md']), Pack.Sync) t.isa(c(['README.md']), Pack) t.end() }) t.test('open fails', t => { const poop = new Error('poop') const file = path.resolve(dir, 'throw-open.tar') t.tearDown(mutateFS.statFail(poop)) t.throws(_ => c({ file: file, sync: true, cwd: __dirname }, [ path.basename(__filename) ])) t.throws(_ => fs.lstatSync(file)) t.end() }) t.test('gzipped tarball that makes some drain/resume stuff', t => { const cwd = path.dirname(__dirname) const out = path.resolve(dir, 'package.tgz') c({ z: true, C: cwd },[ 'node_modules' ]) .pipe(fs.createWriteStream(out)) .on('finish', _ => { const child = spawn('tar', ['tf', out], { stdio: [ 'ignore', 'ignore', 'pipe' ] }) child.stderr.on('data', c => { t.fail(c + '') }) child.on('close', (code, signal) => { t.equal(code, 0) t.equal(signal, null) t.end() }) }) }) t.test('create tarball out of another tarball', t => { const out = path.resolve(dir, 'out.tar') const check = t => { const expect = [ 'dir/', 'Ω.txt', '🌟.txt', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt', 'hardlink-1', 'hardlink-2', 'symlink' ] list({ f: out, sync: true, onentry: entry => { if (entry.path === 'hardlink-2') t.equal(entry.type, 'Link') else if (entry.path === 'symlink') t.equal(entry.type, 'SymbolicLink') else if (entry.path === 'dir/') t.equal(entry.type, 'Directory') else t.equal(entry.type, 'File') t.equal(entry.path, expect.shift()) }}) t.same(expect, []) t.end() } t.test('sync', t => { c({ f: out, cwd: tars, sync: true }, ['@dir.tar', '@utf8.tar', '@links.tar']) check(t) }) t.test('async', t => { c({ f: out, cwd: tars }, ['@dir.tar', '@utf8.tar', '@links.tar'], _ => check(t)) }) t.end() }) node-tar-4.4.6/test/dir-normalization.tar000066400000000000000000000110001333044642000203560ustar00rootroot00000000000000fixtures/000755 057761 000024 00000000000 12511342154 013343 5ustar00isaacsstaff000000 000000 fixtures/a/000755 057761 000024 00000000000 12511342040 013555 5ustar00isaacsstaff000000 000000 fixtures/the-chumbler000755 057761 000024 00000000000 12505125041 021322 2/a/b/c/d/the-chumblerustar00isaacsstaff000000 000000 fixtures/a/b/000755 057761 000024 00000000000 12511342030 013775 5ustar00isaacsstaff000000 000000 fixtures/a/x000644 057761 000024 00000000000 12511342040 013735 0ustar00isaacsstaff000000 000000 fixtures/a/b/c/000755 057761 000024 00000000000 12511342055 014226 5ustar00isaacsstaff000000 000000 fixtures/a/b/c/y000755 057761 000024 00000000000 12511342055 015232 2../../xustar00isaacsstaff000000 000000 node-tar-4.4.6/test/extract.js000066400000000000000000000124771333044642000162370ustar00rootroot00000000000000'use strict' const t = require('tap') const x = require('../lib/extract.js') const path = require('path') const fs = require('fs') const extractdir = path.resolve(__dirname, 'fixtures/extract') const tars = path.resolve(__dirname, 'fixtures/tars') const mkdirp = require('mkdirp') const rimraf = require('rimraf') const mutateFS = require('mutate-fs') t.teardown(_ => rimraf.sync(extractdir)) t.test('basic extracting', t => { const file = path.resolve(tars, 'utf8.tar') const dir = path.resolve(extractdir, 'basic') t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir) cb() }) const check = t => { fs.lstatSync(dir + '/Ω.txt') fs.lstatSync(dir + '/🌟.txt') t.throws(_ => fs.lstatSync(dir + '/long-path/r/e/a/l/l/y/-/d/e/e/p/-' + '/f/o/l/d/e/r/-/p/a/t/h/Ω.txt')) rimraf.sync(dir) t.end() } const files = [ '🌟.txt', 'Ω.txt' ] t.test('sync', t => { x({ file: file, sync: true, C: dir }, files) check(t) }) t.test('async promisey', t => { return x({ file: file, cwd: dir }, files).then(_ => { check(t) }) }) t.test('async cb', t => { return x({ file: file, cwd: dir }, files, er => { if (er) throw er check(t) }) }) t.end() }) t.test('file list and filter', t => { const file = path.resolve(tars, 'utf8.tar') const dir = path.resolve(extractdir, 'filter') t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir) cb() }) const check = t => { fs.lstatSync(dir + '/Ω.txt') t.throws(_ => fs.lstatSync(dir + '/🌟.txt')) t.throws(_ => fs.lstatSync(dir + '/long-path/r/e/a/l/l/y/-/d/e/e/p/-' + '/f/o/l/d/e/r/-/p/a/t/h/Ω.txt')) rimraf.sync(dir) t.end() } const filter = path => path === 'Ω.txt' t.test('sync', t => { x({ filter: filter, file: file, sync: true, C: dir }, [ '🌟.txt', 'Ω.txt' ]) check(t) }) t.test('async promisey', t => { return x({ filter: filter, file: file, cwd: dir }, [ '🌟.txt', 'Ω.txt' ]).then(_ => { check(t) }) }) t.test('async cb', t => { return x({ filter: filter, file: file, cwd: dir }, [ '🌟.txt', 'Ω.txt' ], er => { if (er) throw er check(t) }) }) t.end() }) t.test('no file list', t => { const file = path.resolve(tars, 'body-byte-counts.tar') const dir = path.resolve(extractdir, 'no-list') t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir) cb() }) const check = t => { t.equal(fs.lstatSync(path.resolve(dir, '1024-bytes.txt')).size, 1024) t.equal(fs.lstatSync(path.resolve(dir, '512-bytes.txt')).size, 512) t.equal(fs.lstatSync(path.resolve(dir, 'one-byte.txt')).size, 1) t.equal(fs.lstatSync(path.resolve(dir, 'zero-byte.txt')).size, 0) rimraf.sync(dir) t.end() } t.test('sync', t => { x({ file: file, sync: true, C: dir }) check(t) }) t.test('async promisey', t => { return x({ file: file, cwd: dir }).then(_ => { check(t) }) }) t.test('async cb', t => { return x({ file: file, cwd: dir }, er => { if (er) throw er check(t) }) }) t.end() }) t.test('read in itty bits', t => { const maxReadSize = 1000 const file = path.resolve(tars, 'body-byte-counts.tar') const dir = path.resolve(extractdir, 'no-list') t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir) cb() }) const check = t => { t.equal(fs.lstatSync(path.resolve(dir, '1024-bytes.txt')).size, 1024) t.equal(fs.lstatSync(path.resolve(dir, '512-bytes.txt')).size, 512) t.equal(fs.lstatSync(path.resolve(dir, 'one-byte.txt')).size, 1) t.equal(fs.lstatSync(path.resolve(dir, 'zero-byte.txt')).size, 0) rimraf.sync(dir) t.end() } t.test('sync', t => { x({ file: file, sync: true, C: dir, maxReadSize: maxReadSize }) check(t) }) t.test('async promisey', t => { return x({ file: file, cwd: dir, maxReadSize: maxReadSize }).then(_ => { check(t) }) }) t.test('async cb', t => { return x({ file: file, cwd: dir, maxReadSize: maxReadSize }, er => { if (er) throw er check(t) }) }) t.end() }) t.test('bad calls', t => { t.throws(_=> x(_=>_)) t.throws(_=> x({sync: true}, _=>_)) t.throws(_=> x({sync: true}, [], _=>_)) t.end() }) t.test('no file', t => { const Unpack = require('../lib/unpack.js') t.isa(x(), Unpack) t.isa(x(['asdf']), Unpack) t.isa(x({sync:true}), Unpack.Sync) t.end() }) t.test('nonexistent', t => { t.throws(_ => x({sync: true, file: 'does not exist' })) x({ file: 'does not exist' }).catch(_ => t.end()) }) t.test('read fail', t => { const poop = new Error('poop') t.teardown(mutateFS.fail('read', poop)) t.throws(_ => x({maxReadSize: 10, sync: true, file: __filename }), poop) t.end() }) t.test('sync gzip error edge case test', t => { const zlib = require('minizlib') const file = path.resolve(__dirname, 'fixtures/sync-gzip-fail.tgz') const dir = path.resolve(__dirname, 'sync-gzip-fail') const cwd = process.cwd() mkdirp.sync(dir + '/x') process.chdir(dir) t.teardown(() => { process.chdir(cwd) rimraf.sync(dir) }) x({ sync: true, file: file, onwarn: (m, er) => { throw er } }) t.same(fs.readdirSync(dir + '/x').sort(), [ '1', '10', '2', '3', '4', '5', '6', '7', '8', '9' ]) t.end() }) node-tar-4.4.6/test/fixtures/000077500000000000000000000000001333044642000160655ustar00rootroot00000000000000node-tar-4.4.6/test/fixtures/files/000077500000000000000000000000001333044642000171675ustar00rootroot00000000000000node-tar-4.4.6/test/fixtures/files/.dotfile000066400000000000000000000000021333044642000206060ustar00rootroot00000000000000. 100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc000066400000000000000000000001441333044642000420140ustar00rootroot00000000000000node-tar-4.4.6/test/fixtures/filesccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccnode-tar-4.4.6/test/fixtures/files/1024-bytes.txt000066400000000000000000000020001333044642000214320ustar00rootroot00000000000000xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 5a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000245133304464200020435xustar00rootroot00000000000000165 path=node-tar-4.4.6/test/fixtures/files/120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 5a5d18e29413674effba80fa9253094e0c07ee15.data000066400000000000000000000001441333044642000172710ustar00rootroot00000000000000cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc5a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 5a5d18e29413674effba80fa9253094e0c07ee15.data000066400000000000000000000001441333044642000172710ustar00rootroot00000000000000cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc5a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/512-bytes.txt000066400000000000000000000010001333044642000213520ustar00rootroot00000000000000xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 5a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/000077500000000000000000000000001333044642000420355ustar00rootroot00000000000000node-tar-4.4.6/test/fixtures/files5a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc a-truly-unlucky-file-beyond-130-byte-path-length.txt000066400000000000000000000010601333044642000535260ustar00rootroot00000000000000node-tar-4.4.6/test/fixtures/files/99-byte-dirname-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccBehold! I am a text file and NOT a tar header. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 5a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc some-unlucky-file.txt000066400000000000000000000010601333044642000461430ustar00rootroot00000000000000node-tar-4.4.6/test/fixtures/files/99-byte-dirname-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccBehold! I am a text file and NOT a tar header. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 5a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/dir/000077500000000000000000000000001333044642000177455ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/dir/x000066400000000000000000000000001333044642000201250ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/hardlink-1000066400000000000000000000000321333044642000210370ustar00rootroot00000000000000this link is like diamond 5a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/hardlink-2000066400000000000000000000000321333044642000210400ustar00rootroot00000000000000this link is like diamond 5a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/000077500000000000000000000000001333044642000210605ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/000077500000000000000000000000001333044642000213215ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/000077500000000000000000000000001333044642000215455ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/000077500000000000000000000000001333044642000217655ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/000077500000000000000000000000001333044642000222205ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/000077500000000000000000000000001333044642000224535ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/000077500000000000000000000000001333044642000227235ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/000077500000000000000000000000001333044642000230575ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/000077500000000000000000000000001333044642000233025ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/000077500000000000000000000000001333044642000235265ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/000077500000000000000000000000001333044642000237525ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/000077500000000000000000000000001333044642000242115ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/000077500000000000000000000000001333044642000243455ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/000077500000000000000000000000001333044642000245725ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/000077500000000000000000000000001333044642000250305ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/000077500000000000000000000000001333044642000252635ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/000077500000000000000000000000001333044642000255065ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/000077500000000000000000000000001333044642000257325ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/000077500000000000000000000000001333044642000261735ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/000077500000000000000000000000001333044642000263275ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/000077500000000000000000000000001333044642000265665ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/000077500000000000000000000000001333044642000270065ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/000077500000000000000000000000001333044642000272515ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/000077500000000000000000000000001333044642000275005ustar00rootroot000000000000005a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt000066400000000000000000000000061333044642000304550ustar00rootroot00000000000000short 5a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000327133304464200020436xustar00rootroot00000000000000215 path=node-tar-4.4.6/test/fixtures/files/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc000066400000000000000000000001441333044642000526760ustar00rootroot00000000000000node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111e5a9d5e2742f65d797cb32c0290856afc604b356.paxheader00006660000000000000000000000335133304464200020366xustar00rootroot00000000000000221 path=node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc e5a9d5e2742f65d797cb32c0290856afc604b356.data000066400000000000000000000001441333044642000172220ustar00rootroot0000000000000022222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222225a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000417133304464200020436xustar00rootroot00000000000000271 path=node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 5a5d18e29413674effba80fa9253094e0c07ee15.data000066400000000000000000000001441333044642000172710ustar00rootroot00000000000000cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc5a5d18e29413674effba80fa9253094e0c07ee15.paxheader00006660000000000000000000000417133304464200020436xustar00rootroot00000000000000271 path=node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt000066400000000000000000000000021333044642000310770ustar00rootroot00000000000000Ωc3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/longlink000077700000000000000000000000001333044642000307622see c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheaderustar00rootroot00000000000000c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/one-byte.txt000066400000000000000000000000011333044642000214410ustar00rootroot00000000000000ac3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/symlink000077700000000000000000000000001333044642000224512hardlink-2ustar00rootroot00000000000000c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/zero-byte.txt000066400000000000000000000000001333044642000216360ustar00rootroot00000000000000c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/Ω.txt000066400000000000000000000000021333044642000205660ustar00rootroot00000000000000Ωc3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/files/🌟.txt000066400000000000000000000001521333044642000212770ustar00rootroot00000000000000🌟✧✩⭐︎✪✫✬✭✮⚝✯✰✵✶✷✸✹❂⭑⭒★☆✡☪✴︎✦✡️🔯✴️🌠 c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/000077500000000000000000000000001333044642000171775ustar00rootroot00000000000000c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/bad-cksum--filter-strict.json000066400000000000000000000020201333044642000246000ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/bad-cksum--filter.json000066400000000000000000000017341333044642000233050ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "warn", "invalid entry" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/bad-cksum--meta-250-filter-strict.json000066400000000000000000000020201333044642000260300ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/bad-cksum--meta-250-filter.json000066400000000000000000000017341333044642000245350ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "warn", "invalid entry" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/bad-cksum--meta-250-strict.json000066400000000000000000000020201333044642000245450ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/bad-cksum--meta-250.json000066400000000000000000000017341333044642000232520ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "warn", "invalid entry" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/bad-cksum--strict.json000066400000000000000000000020201333044642000233150ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/bad-cksum.json000066400000000000000000000017341333044642000217450ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "warn", "invalid entry" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/body-byte-counts--filter-strict.json000066400000000000000000000065641333044642000261620ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/body-byte-counts--filter.json000066400000000000000000000065641333044642000246540ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/body-byte-counts--meta-250-filter-strict.json000066400000000000000000000065641333044642000274120ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/body-byte-counts--meta-250-filter.json000066400000000000000000000065641333044642000261040ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/body-byte-counts--meta-250-strict.json000066400000000000000000000065421333044642000261230ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/body-byte-counts--meta-250.json000066400000000000000000000065421333044642000246150ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/body-byte-counts--strict.json000066400000000000000000000065421333044642000246730ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/body-byte-counts.json000066400000000000000000000065421333044642000233100ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/dir--filter-strict.json000066400000000000000000000016051333044642000235200ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/dir--filter.json000066400000000000000000000016051333044642000222120ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/dir--meta-250-filter-strict.json000066400000000000000000000016051333044642000247500ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/dir--meta-250-filter.json000066400000000000000000000016051333044642000234420ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/dir--meta-250-strict.json000066400000000000000000000015771333044642000234750ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/dir--meta-250.json000066400000000000000000000015771333044642000221670ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/dir--strict.json000066400000000000000000000015771333044642000222450ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/dir.json000066400000000000000000000015771333044642000206620ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/emptypax--filter-strict.json000066400000000000000000000044751333044642000246210ustar00rootroot00000000000000[ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/emptypax--filter.json000066400000000000000000000044751333044642000233130ustar00rootroot00000000000000[ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/emptypax--meta-250-filter-strict.json000066400000000000000000000044751333044642000260510ustar00rootroot00000000000000[ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/emptypax--meta-250-filter.json000066400000000000000000000044751333044642000245430ustar00rootroot00000000000000[ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/emptypax--meta-250-strict.json000066400000000000000000000044671333044642000245670ustar00rootroot00000000000000[ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/emptypax--meta-250.json000066400000000000000000000044671333044642000232610ustar00rootroot00000000000000[ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/emptypax--strict.json000066400000000000000000000044671333044642000233370ustar00rootroot00000000000000[ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/emptypax.json000066400000000000000000000044671333044642000217540ustar00rootroot00000000000000[ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/file--filter-strict.json000066400000000000000000000016121333044642000236570ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/file--filter.json000066400000000000000000000016121333044642000223510ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/file--meta-250-filter-strict.json000066400000000000000000000016121333044642000251070ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/file--meta-250-filter.json000066400000000000000000000016121333044642000236010ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/file--meta-250-strict.json000066400000000000000000000016121333044642000236240ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/file--meta-250.json000066400000000000000000000016121333044642000223160ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/file--strict.json000066400000000000000000000016121333044642000223740ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/file.json000066400000000000000000000016121333044642000210110ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/global-header--filter-strict.json000066400000000000000000000024441333044642000254320ustar00rootroot00000000000000[ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/global-header--filter.json000066400000000000000000000024441333044642000241240ustar00rootroot00000000000000[ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/global-header--meta-250-filter-strict.json000066400000000000000000000024441333044642000266620ustar00rootroot00000000000000[ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/global-header--meta-250-filter.json000066400000000000000000000024441333044642000253540ustar00rootroot00000000000000[ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/global-header--meta-250-strict.json000066400000000000000000000024441333044642000253770ustar00rootroot00000000000000[ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/global-header--meta-250.json000066400000000000000000000024441333044642000240710ustar00rootroot00000000000000[ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/global-header--strict.json000066400000000000000000000024441333044642000241470ustar00rootroot00000000000000[ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/global-header.json000066400000000000000000000024441333044642000225640ustar00rootroot00000000000000[ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links--filter-strict.json000066400000000000000000000051001333044642000240540ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": true, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links--filter.json000066400000000000000000000051001333044642000225460ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": true, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links--meta-250-filter-strict.json000066400000000000000000000051001333044642000253040ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": true, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links--meta-250-filter.json000066400000000000000000000051001333044642000237760ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": true, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links--meta-250-strict.json000066400000000000000000000050561333044642000240330ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links--meta-250.json000066400000000000000000000050561333044642000225250ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links--strict.json000066400000000000000000000050561333044642000226030ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links-invalid--filter-strict.json000066400000000000000000000022061333044642000255040ustar00rootroot00000000000000[ [ "error", { "message": "invalid: linkpath forbidden" } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid: linkpath required" } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links-invalid--filter.json000066400000000000000000000020701333044642000241750ustar00rootroot00000000000000[ [ "warn", "invalid: linkpath forbidden" ], [ "warn", "invalid entry" ], [ "warn", "invalid: linkpath required" ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links-invalid--meta-250-filter-strict.json000066400000000000000000000022061333044642000267340ustar00rootroot00000000000000[ [ "error", { "message": "invalid: linkpath forbidden" } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid: linkpath required" } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links-invalid--meta-250-filter.json000066400000000000000000000020701333044642000254250ustar00rootroot00000000000000[ [ "warn", "invalid: linkpath forbidden" ], [ "warn", "invalid entry" ], [ "warn", "invalid: linkpath required" ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links-invalid--meta-250-strict.json000066400000000000000000000022001333044642000254430ustar00rootroot00000000000000[ [ "error", { "message": "invalid: linkpath forbidden" } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid: linkpath required" } ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links-invalid--meta-250.json000066400000000000000000000020621333044642000241430ustar00rootroot00000000000000[ [ "warn", "invalid: linkpath forbidden" ], [ "warn", "invalid entry" ], [ "warn", "invalid: linkpath required" ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links-invalid--strict.json000066400000000000000000000022001333044642000242130ustar00rootroot00000000000000[ [ "error", { "message": "invalid: linkpath forbidden" } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid: linkpath required" } ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links-invalid.json000066400000000000000000000020621333044642000226360ustar00rootroot00000000000000[ [ "warn", "invalid: linkpath forbidden" ], [ "warn", "invalid entry" ], [ "warn", "invalid: linkpath required" ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/links.json000066400000000000000000000050561333044642000212200ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-paths--filter-strict.json000066400000000000000000001036371333044642000250260ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "180 path=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843378\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836326\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:56:18.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836326, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:56:18.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "186 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836253\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836253, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "236 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836254\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836254, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-paths--filter.json000066400000000000000000001036371333044642000235200ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "180 path=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843378\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836326\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:56:18.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836326, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:56:18.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "186 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836253\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836253, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "236 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836254\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836254, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-paths--meta-250-filter-strict.json000066400000000000000000001034671333044642000262570ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14413, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18881, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19932, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-paths--meta-250-filter.json000066400000000000000000001034671333044642000247510ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14413, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18881, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19932, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-paths--meta-250-strict.json000066400000000000000000001031671333044642000247710ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14413, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18881, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19932, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-paths--meta-250.json000066400000000000000000001031671333044642000234630ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14413, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18881, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19932, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-paths--strict.json000066400000000000000000001033371333044642000235400ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "180 path=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843378\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836326\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:56:18.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836326, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:56:18.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "186 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836253\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836253, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "236 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836254\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836254, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-paths.json000066400000000000000000001033371333044642000221550ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "180 path=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843378\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836326\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:56:18.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836326, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:56:18.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "186 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836253\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836253, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "236 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836254\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836254, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-pax--filter-strict.json000066400000000000000000000076001333044642000244700ustar00rootroot00000000000000[ [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n1069 comment=all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy\n9 gid=20\n15 gname=staff\n20 mtime=1491843252\n12 size=100\n11 uid=501\n16 uname=isaacs\n" ], [ "ignoredEntry", { "extended": { "atime": null, "charset": null, "comment": "all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy", "ctime": null, "gid": 20, "gname": "staff", "linkpath": null, "mtime": "2017-04-10T16:54:12.000Z", "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": 100, "uid": 501, "uname": "isaacs", "dev": null, "ino": null, "nlink": null, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-pax--filter.json000066400000000000000000000076001333044642000231620ustar00rootroot00000000000000[ [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n1069 comment=all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy\n9 gid=20\n15 gname=staff\n20 mtime=1491843252\n12 size=100\n11 uid=501\n16 uname=isaacs\n" ], [ "ignoredEntry", { "extended": { "atime": null, "charset": null, "comment": "all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy", "ctime": null, "gid": 20, "gname": "staff", "linkpath": null, "mtime": "2017-04-10T16:54:12.000Z", "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": 100, "uid": 501, "uname": "isaacs", "dev": null, "ino": null, "nlink": null, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-pax--meta-250-filter-strict.json000066400000000000000000000040271333044642000257200ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14425, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-pax--meta-250-filter.json000066400000000000000000000040271333044642000244120ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14425, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-pax--meta-250-strict.json000066400000000000000000000040211333044642000244270ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14425, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-pax--meta-250.json000066400000000000000000000040211333044642000231210ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14425, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-pax--strict.json000066400000000000000000000075721333044642000232150ustar00rootroot00000000000000[ [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n1069 comment=all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy\n9 gid=20\n15 gname=staff\n20 mtime=1491843252\n12 size=100\n11 uid=501\n16 uname=isaacs\n" ], [ "entry", { "extended": { "atime": null, "charset": null, "comment": "all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy", "ctime": null, "gid": 20, "gname": "staff", "linkpath": null, "mtime": "2017-04-10T16:54:12.000Z", "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": 100, "uid": 501, "uname": "isaacs", "dev": null, "ino": null, "nlink": null, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/long-pax.json000066400000000000000000000075721333044642000216320ustar00rootroot00000000000000[ [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n1069 comment=all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy\n9 gid=20\n15 gname=staff\n20 mtime=1491843252\n12 size=100\n11 uid=501\n16 uname=isaacs\n" ], [ "entry", { "extended": { "atime": null, "charset": null, "comment": "all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy", "ctime": null, "gid": 20, "gname": "staff", "linkpath": null, "mtime": "2017-04-10T16:54:12.000Z", "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": 100, "uid": 501, "uname": "isaacs", "dev": null, "ino": null, "nlink": null, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/next-file-has-long--filter-strict.json000066400000000000000000000057471333044642000263560ustar00rootroot00000000000000[ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/next-file-has-long--filter.json000066400000000000000000000057471333044642000250500ustar00rootroot00000000000000[ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/next-file-has-long--meta-250-filter-strict.json000066400000000000000000000057471333044642000276060ustar00rootroot00000000000000[ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/next-file-has-long--meta-250-filter.json000066400000000000000000000057471333044642000263000ustar00rootroot00000000000000[ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/next-file-has-long--meta-250-strict.json000066400000000000000000000057331333044642000263160ustar00rootroot00000000000000[ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/next-file-has-long--meta-250.json000066400000000000000000000057331333044642000250100ustar00rootroot00000000000000[ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/next-file-has-long--strict.json000066400000000000000000000057331333044642000250660ustar00rootroot00000000000000[ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/next-file-has-long.json000066400000000000000000000057331333044642000235030ustar00rootroot00000000000000[ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/null-byte--filter-strict.json000066400000000000000000000052021333044642000246520ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "ignoredEntry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/null-byte--filter.json000066400000000000000000000052021333044642000233440ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "ignoredEntry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/null-byte--meta-250-filter-strict.json000066400000000000000000000052021333044642000261020ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "ignoredEntry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/null-byte--meta-250-filter.json000066400000000000000000000052021333044642000245740ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "ignoredEntry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/null-byte--meta-250-strict.json000066400000000000000000000051661333044642000246300ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "entry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/null-byte--meta-250.json000066400000000000000000000051661333044642000233220ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "entry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/null-byte--strict.json000066400000000000000000000051661333044642000234000ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "entry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/null-byte.json000066400000000000000000000051661333044642000220150ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "entry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/path-missing--filter-strict.json000066400000000000000000000003321333044642000253410ustar00rootroot00000000000000[ [ "error", { "message": "invalid: path is required" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/path-missing--filter.json000066400000000000000000000002461333044642000240370ustar00rootroot00000000000000[ [ "warn", "invalid: path is required" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/path-missing--meta-250-filter-strict.json000066400000000000000000000003321333044642000265710ustar00rootroot00000000000000[ [ "error", { "message": "invalid: path is required" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/path-missing--meta-250-filter.json000066400000000000000000000002461333044642000252670ustar00rootroot00000000000000[ [ "warn", "invalid: path is required" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/path-missing--meta-250-strict.json000066400000000000000000000003321333044642000253060ustar00rootroot00000000000000[ [ "error", { "message": "invalid: path is required" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/path-missing--meta-250.json000066400000000000000000000002461333044642000240040ustar00rootroot00000000000000[ [ "warn", "invalid: path is required" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/path-missing--strict.json000066400000000000000000000003321333044642000240560ustar00rootroot00000000000000[ [ "error", { "message": "invalid: path is required" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/path-missing.json000066400000000000000000000002461333044642000224770ustar00rootroot00000000000000[ [ "warn", "invalid: path is required" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/trailing-slash-corner-case--filter-strict.json000066400000000000000000000077551333044642000300760ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/trailing-slash-corner-case--filter.json000066400000000000000000000077551333044642000265700ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/trailing-slash-corner-case--meta-250-filter-strict.json000066400000000000000000000077551333044642000313260ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/trailing-slash-corner-case--meta-250-filter.json000066400000000000000000000077551333044642000300200ustar00rootroot00000000000000[ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/trailing-slash-corner-case--meta-250-strict.json000066400000000000000000000077331333044642000300370ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/trailing-slash-corner-case--meta-250.json000066400000000000000000000077331333044642000265310ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/trailing-slash-corner-case--strict.json000066400000000000000000000077331333044642000266070ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/trailing-slash-corner-case.json000066400000000000000000000077331333044642000252240ustar00rootroot00000000000000[ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/utf8--filter-strict.json000066400000000000000000000110511333044642000236240ustar00rootroot00000000000000[ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/utf8--filter.json000066400000000000000000000110511333044642000223160ustar00rootroot00000000000000[ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/utf8--meta-250-filter-strict.json000066400000000000000000000110511333044642000250540ustar00rootroot00000000000000[ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/utf8--meta-250-filter.json000066400000000000000000000110511333044642000235460ustar00rootroot00000000000000[ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/utf8--meta-250-strict.json000066400000000000000000000110271333044642000235740ustar00rootroot00000000000000[ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/utf8--meta-250.json000066400000000000000000000110271333044642000222660ustar00rootroot00000000000000[ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/utf8--strict.json000066400000000000000000000110271333044642000223440ustar00rootroot00000000000000[ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parse/utf8.json000066400000000000000000000110271333044642000207610ustar00rootroot00000000000000[ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/parses.tar000066400000000000000000022720001333044642000200750ustar00rootroot00000000000000test/fixtures/parse/bad-cksum--filter-strict.json000644 000765 000024 00000002020 13330445633 023033 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/bad-cksum--filter.json000644 000765 000024 00000001734 13330445633 021540 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "warn", "invalid entry" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/bad-cksum--meta-250-filter-strict.json000644 000765 000024 00000002020 13330445633 024263 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/bad-cksum--meta-250-filter.json000644 000765 000024 00000001734 13330445633 022770 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "warn", "invalid entry" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/bad-cksum--meta-250-strict.json000644 000765 000024 00000002020 13330445633 023000 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/bad-cksum--meta-250.json000644 000765 000024 00000001734 13330445633 021505 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "warn", "invalid entry" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/bad-cksum--strict.json000644 000765 000024 00000002020 13330445633 021550 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/bad-cksum.json000644 000765 000024 00000001734 13330445633 020200 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "warn", "invalid entry" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/body-byte-counts--filter-strict.json000644 000765 000024 00000006564 13330445633 024415 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/body-byte-counts--filter.json000644 000765 000024 00000006564 13330445633 023107 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/body-byte-counts--meta-250-filter-strict.json000644 000765 000024 00000006564 13330445633 025645 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/body-byte-counts--meta-250-filter.json000644 000765 000024 00000006564 13330445633 024337 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/body-byte-counts--meta-250-strict.json000644 000765 000024 00000006542 13330445633 024356 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/body-byte-counts--meta-250.json000644 000765 000024 00000006542 13330445633 023050 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/body-byte-counts--strict.json000644 000765 000024 00000006542 13330445633 023126 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/body-byte-counts.json000644 000765 000024 00000006542 13330445633 021543 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "1024-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1024, "mtime": "2017-04-10T16:57:47.000Z", "cksum": 6109, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "512-bytes.txt", "mode": 420, "uid": 501, "gid": 20, "size": 512, "mtime": "2017-04-10T17:08:55.000Z", "cksum": 6064, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "zero-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:08:01.000Z", "cksum": 6246, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/dir--filter-strict.json000644 000765 000024 00000001605 13330445633 021753 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/dir--filter.json000644 000765 000024 00000001605 13330445633 020445 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/dir--meta-250-filter-strict.json000644 000765 000024 00000001605 13330445633 023203 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/dir--meta-250-filter.json000644 000765 000024 00000001605 13330445633 021675 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/dir--meta-250-strict.json000644 000765 000024 00000001577 13330445633 021730 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/dir--meta-250.json000644 000765 000024 00000001577 13330445633 020422 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/dir--strict.json000644 000765 000024 00000001577 13330445633 020500 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/dir.json000644 000765 000024 00000001577 13330445633 017115 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "dir/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T17:00:17.000Z", "cksum": 5284, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/emptypax--filter-strict.json000644 000765 000024 00000004475 13330445633 023054 0ustar00isaacsstaff000000 000000 [ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/emptypax--filter.json000644 000765 000024 00000004475 13330445633 021546 0ustar00isaacsstaff000000 000000 [ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/emptypax--meta-250-filter-strict.json000644 000765 000024 00000004475 13330445633 024304 0ustar00isaacsstaff000000 000000 [ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/emptypax--meta-250-filter.json000644 000765 000024 00000004475 13330445633 022776 0ustar00isaacsstaff000000 000000 [ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/emptypax--meta-250-strict.json000644 000765 000024 00000004467 13330445633 023022 0ustar00isaacsstaff000000 000000 [ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/emptypax--meta-250.json000644 000765 000024 00000004467 13330445633 021514 0ustar00isaacsstaff000000 000000 [ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/emptypax--strict.json000644 000765 000024 00000004467 13330445633 021572 0ustar00isaacsstaff000000 000000 [ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/emptypax.json000644 000765 000024 00000004467 13330445633 020207 0ustar00isaacsstaff000000 000000 [ [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491845601\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:33:21.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:33:21.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/file--filter-strict.json000644 000765 000024 00000001612 13330445633 022112 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/file--filter.json000644 000765 000024 00000001612 13330445633 020604 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/file--meta-250-filter-strict.json000644 000765 000024 00000001612 13330445633 023342 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/file--meta-250-filter.json000644 000765 000024 00000001612 13330445633 022034 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/file--meta-250-strict.json000644 000765 000024 00000001612 13330445633 022057 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/file--meta-250.json000644 000765 000024 00000001612 13330445633 020551 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/file--strict.json000644 000765 000024 00000001612 13330445633 020627 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/file.json000644 000765 000024 00000001612 13330445633 017244 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/global-header--filter-strict.json000644 000765 000024 00000002444 13330445633 023665 0ustar00isaacsstaff000000 000000 [ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/global-header--filter.json000644 000765 000024 00000002444 13330445633 022357 0ustar00isaacsstaff000000 000000 [ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/global-header--meta-250-filter-strict.json000644 000765 000024 00000002444 13330445633 025115 0ustar00isaacsstaff000000 000000 [ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/global-header--meta-250-filter.json000644 000765 000024 00000002444 13330445633 023607 0ustar00isaacsstaff000000 000000 [ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/global-header--meta-250-strict.json000644 000765 000024 00000002444 13330445633 023632 0ustar00isaacsstaff000000 000000 [ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/global-header--meta-250.json000644 000765 000024 00000002444 13330445633 022324 0ustar00isaacsstaff000000 000000 [ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/global-header--strict.json000644 000765 000024 00000002444 13330445633 022402 0ustar00isaacsstaff000000 000000 [ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/global-header.json000644 000765 000024 00000002444 13330445633 021017 0ustar00isaacsstaff000000 000000 [ [ "meta", "11 path=ab\n" ], [ "entry", { "extended": null, "globalExtended": { "atime": null, "charset": null, "comment": null, "ctime": null, "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "ab", "size": null, "uid": null, "uname": null, "dev": null, "ino": null, "nlink": null, "global": true }, "type": "File", "meta": false, "ignore": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "one-byte.txt", "mode": 420, "uid": 501, "gid": 20, "size": 1, "mtime": "2017-04-10T16:58:20.000Z", "cksum": 6121, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links--filter-strict.json000644 000765 000024 00000005100 13330445633 022307 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": true, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links--filter.json000644 000765 000024 00000005100 13330445633 021001 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": true, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links--meta-250-filter-strict.json000644 000765 000024 00000005100 13330445633 023537 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": true, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links--meta-250-filter.json000644 000765 000024 00000005100 13330445633 022231 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": true, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links--meta-250-strict.json000644 000765 000024 00000005056 13330445633 022266 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links--meta-250.json000644 000765 000024 00000005056 13330445633 020760 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links--strict.json000644 000765 000024 00000005056 13330445633 021036 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links-invalid--filter-strict.json000644 000765 000024 00000002206 13330445633 023737 0ustar00isaacsstaff000000 000000 [ [ "error", { "message": "invalid: linkpath forbidden" } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid: linkpath required" } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links-invalid--filter.json000644 000765 000024 00000002070 13330445633 022430 0ustar00isaacsstaff000000 000000 [ [ "warn", "invalid: linkpath forbidden" ], [ "warn", "invalid entry" ], [ "warn", "invalid: linkpath required" ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links-invalid--meta-250-filter-strict.json000644 000765 000024 00000002206 13330445633 025167 0ustar00isaacsstaff000000 000000 [ [ "error", { "message": "invalid: linkpath forbidden" } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid: linkpath required" } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links-invalid--meta-250-filter.json000644 000765 000024 00000002070 13330445633 023660 0ustar00isaacsstaff000000 000000 [ [ "warn", "invalid: linkpath forbidden" ], [ "warn", "invalid entry" ], [ "warn", "invalid: linkpath required" ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links-invalid--meta-250-strict.json000644 000765 000024 00000002200 13330445633 023676 0ustar00isaacsstaff000000 000000 [ [ "error", { "message": "invalid: linkpath forbidden" } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid: linkpath required" } ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links-invalid--meta-250.json000644 000765 000024 00000002062 13330445633 022376 0ustar00isaacsstaff000000 000000 [ [ "warn", "invalid: linkpath forbidden" ], [ "warn", "invalid entry" ], [ "warn", "invalid: linkpath required" ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links-invalid--strict.json000644 000765 000024 00000002200 13330445633 022446 0ustar00isaacsstaff000000 000000 [ [ "error", { "message": "invalid: linkpath forbidden" } ], [ "error", { "message": "invalid entry" } ], [ "error", { "message": "invalid: linkpath required" } ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links-invalid.json000644 000765 000024 00000002062 13330445633 021071 0ustar00isaacsstaff000000 000000 [ [ "warn", "invalid: linkpath forbidden" ], [ "warn", "invalid entry" ], [ "warn", "invalid: linkpath required" ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/links.json000644 000765 000024 00000005056 13330445633 017453 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-1", "mode": 420, "uid": 501, "gid": 20, "size": 26, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 5856, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Link", "meta": false, "ignore": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-1", "header": { "cksumValid": true, "needPax": false, "path": "hardlink-2", "mode": 420, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:05.000Z", "cksum": 6792, "linkpath": "hardlink-1", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "atime": null, "ctime": null, "linkpath": "hardlink-2", "header": { "cksumValid": true, "needPax": false, "path": "symlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T19:27:33.000Z", "cksum": 6639, "linkpath": "hardlink-2", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/long-paths--filter-strict.json000644 000765 000024 00000103637 13330445633 023261 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "180 path=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843378\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836326\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:56:18.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836326, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:56:18.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "186 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836253\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836253, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "236 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836254\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836254, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/long-paths--filter.json000644 000765 000024 00000103637 13330445633 021753 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "180 path=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843378\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836326\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:56:18.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836326, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:56:18.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "186 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836253\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836253, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "236 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836254\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836254, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/long-paths--meta-250-filter-strict.json000644 000765 000024 00000103467 13330445633 024512 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14413, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18881, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19932, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/long-paths--meta-250-filter.json000644 000765 000024 00000103467 13330445633 023204 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14413, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18881, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19932, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/long-paths--meta-250-strict.json000644 000765 000024 00000103167 13330445633 023224 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14413, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18881, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19932, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/long-paths--meta-250.json000644 000765 000024 00000103167 13330445633 021716 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 283, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14413, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 289, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18881, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 339, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19932, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/long-paths--strict.json000644 000765 000024 00000103337 13330445633 021773 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "180 path=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843378\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836326\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:56:18.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836326, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:56:18.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "186 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836253\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836253, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "236 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836254\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836254, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/long-paths.json000644 000765 000024 00000103337 13330445633 020410 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:53:02.000Z", "cksum": 14592, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843252\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836297\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:54:12.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836297, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:54:12.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "180 path=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843378\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836326\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:56:18.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836326, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:56:18.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 5870, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6031, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6179, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6323, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6478, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6633, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6801, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 6893, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7040, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7188, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7336, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7587, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7736, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 7894, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8049, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8196, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8344, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8505, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8597, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8756, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 8900, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 9063, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9223, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt", "mode": 420, "uid": 501, "gid": 20, "size": 6, "mtime": "2017-04-10T16:56:46.000Z", "cksum": 9714, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 19068, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "186 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836253\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836253, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 18969, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "236 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n20 ctime=1491843140\n20 atime=1491843717\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836254\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:01:57.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:52:20.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836254, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "atime": "2017-04-10T17:01:57.000Z", "ctime": "2017-04-10T16:52:20.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:52:20.000Z", "cksum": 20019, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491844045\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:07:25.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:07:25.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/long-pax--filter-strict.json000644 000765 000024 00000007600 13330445633 022723 0ustar00isaacsstaff000000 000000 [ [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n1069 comment=all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy\n9 gid=20\n15 gname=staff\n20 mtime=1491843252\n12 size=100\n11 uid=501\n16 uname=isaacs\n" ], [ "ignoredEntry", { "extended": { "atime": null, "charset": null, "comment": "all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy", "ctime": null, "gid": 20, "gname": "staff", "linkpath": null, "mtime": "2017-04-10T16:54:12.000Z", "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": 100, "uid": 501, "uname": "isaacs", "dev": null, "ino": null, "nlink": null, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] test/fixtures/parse/long-pax--filter.json000644 000765 000024 00000007600 13330445633 021415 0ustar00isaacsstaff000000 000000 [ [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n1069 comment=all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy\n9 gid=20\n15 gname=staff\n20 mtime=1491843252\n12 size=100\n11 uid=501\n16 uname=isaacs\n" ], [ "ignoredEntry", { "extended": { "atime": null, "charset": null, "comment": "all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy", "ctime": null, "gid": 20, "gname": "staff", "linkpath": null, "mtime": "2017-04-10T16:54:12.000Z", "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": 100, "uid": 501, "uname": "isaacs", "dev": null, "ino": null, "nlink": null, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] test/fixtures/parse/long-pax--meta-250-filter-strict.json000644 000765 000024 00000004027 13330445633 024153 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14425, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] test/fixtures/parse/long-pax--meta-250-filter.json000644 000765 000024 00000004027 13330445633 022645 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14425, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] test/fixtures/parse/long-pax--meta-250-strict.json000644 000765 000024 00000004021 13330445633 022662 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14425, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] test/fixtures/parse/long-pax--meta-250.json000644 000765 000024 00000004021 13330445633 021354 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "ExtendedHeader", "meta": true, "ignore": true, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 1282, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14425, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "entry", { "extended": null, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] test/fixtures/parse/long-pax--strict.json000644 000765 000024 00000007572 13330445633 021450 0ustar00isaacsstaff000000 000000 [ [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n1069 comment=all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy\n9 gid=20\n15 gname=staff\n20 mtime=1491843252\n12 size=100\n11 uid=501\n16 uname=isaacs\n" ], [ "entry", { "extended": { "atime": null, "charset": null, "comment": "all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy", "ctime": null, "gid": 20, "gname": "staff", "linkpath": null, "mtime": "2017-04-10T16:54:12.000Z", "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": 100, "uid": 501, "uname": "isaacs", "dev": null, "ino": null, "nlink": null, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] test/fixtures/parse/long-pax.json000644 000765 000024 00000007572 13330445633 020065 0ustar00isaacsstaff000000 000000 [ [ "meta", "130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\n1069 comment=all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy\n9 gid=20\n15 gname=staff\n20 mtime=1491843252\n12 size=100\n11 uid=501\n16 uname=isaacs\n" ], [ "entry", { "extended": { "atime": null, "charset": null, "comment": "all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy", "ctime": null, "gid": 20, "gname": "staff", "linkpath": null, "mtime": "2017-04-10T16:54:12.000Z", "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "size": 100, "uid": 501, "uname": "isaacs", "dev": null, "ino": null, "nlink": null, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:54:12.000Z", "cksum": 14495, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "end" ] ] test/fixtures/parse/next-file-has-long--filter-strict.json000644 000765 000024 00000005747 13330445633 024611 0ustar00isaacsstaff000000 000000 [ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/next-file-has-long--filter.json000644 000765 000024 00000005747 13330445633 023303 0ustar00isaacsstaff000000 000000 [ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/next-file-has-long--meta-250-filter-strict.json000644 000765 000024 00000005747 13330445633 026041 0ustar00isaacsstaff000000 000000 [ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/next-file-has-long--meta-250-filter.json000644 000765 000024 00000005747 13330445633 024533 0ustar00isaacsstaff000000 000000 [ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "ignoredEntry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": true, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/next-file-has-long--meta-250-strict.json000644 000765 000024 00000005733 13330445633 024551 0ustar00isaacsstaff000000 000000 [ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/next-file-has-long--meta-250.json000644 000765 000024 00000005733 13330445633 023243 0ustar00isaacsstaff000000 000000 [ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/next-file-has-long--strict.json000644 000765 000024 00000005733 13330445633 023321 0ustar00isaacsstaff000000 000000 [ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/next-file-has-long.json000644 000765 000024 00000005733 13330445633 021736 0ustar00isaacsstaff000000 000000 [ [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "mode": 420, "uid": 501, "gid": 20, "size": 100, "mtime": "2017-04-10T16:56:18.000Z", "cksum": 14500, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" ], [ "entry", { "extended": { "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" }, "globalExtended": null, "type": "SymbolicLink", "meta": false, "ignore": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "atime": null, "ctime": null, "linkpath": "170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc", "header": { "cksumValid": true, "needPax": false, "path": "longlink", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2017-04-10T23:22:33.000Z", "cksum": 7135, "linkpath": "././@LongSymLink", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/null-byte--filter-strict.json000644 000765 000024 00000005202 13330445633 023105 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "ignoredEntry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/null-byte--filter.json000644 000765 000024 00000005202 13330445633 021577 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "ignoredEntry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/null-byte--meta-250-filter-strict.json000644 000765 000024 00000005202 13330445633 024335 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "ignoredEntry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/null-byte--meta-250-filter.json000644 000765 000024 00000005202 13330445633 023027 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "ignoredEntry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/null-byte--meta-250-strict.json000644 000765 000024 00000005166 13330445633 023063 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "entry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/null-byte--meta-250.json000644 000765 000024 00000005166 13330445633 021555 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "entry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/null-byte--strict.json000644 000765 000024 00000005166 13330445633 021633 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "entry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/null-byte.json000644 000765 000024 00000005166 13330445633 020250 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/", "mode": 509, "uid": 1000, "gid": 1000, "size": 0, "mtime": "2017-07-31T22:21:58.000Z", "cksum": 11228, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz\u0000" ], [ "entry", { "extended": { "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "uname": null, "gname": null, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "this_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgz", "mode": 436, "uid": 1000, "gid": 1000, "size": 200, "mtime": "2017-07-31T22:21:53.000Z", "cksum": 15210, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/path-missing--filter-strict.json000644 000765 000024 00000000332 13330445633 023574 0ustar00isaacsstaff000000 000000 [ [ "error", { "message": "invalid: path is required" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/path-missing--filter.json000644 000765 000024 00000000246 13330445633 022272 0ustar00isaacsstaff000000 000000 [ [ "warn", "invalid: path is required" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/path-missing--meta-250-filter-strict.json000644 000765 000024 00000000332 13330445633 025024 0ustar00isaacsstaff000000 000000 [ [ "error", { "message": "invalid: path is required" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/path-missing--meta-250-filter.json000644 000765 000024 00000000246 13330445633 023522 0ustar00isaacsstaff000000 000000 [ [ "warn", "invalid: path is required" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/path-missing--meta-250-strict.json000644 000765 000024 00000000332 13330445633 023541 0ustar00isaacsstaff000000 000000 [ [ "error", { "message": "invalid: path is required" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/path-missing--meta-250.json000644 000765 000024 00000000246 13330445633 022237 0ustar00isaacsstaff000000 000000 [ [ "warn", "invalid: path is required" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/path-missing--strict.json000644 000765 000024 00000000332 13330445633 022311 0ustar00isaacsstaff000000 000000 [ [ "error", { "message": "invalid: path is required" } ], [ "error", { "message": "invalid entry" } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/path-missing.json000644 000765 000024 00000000246 13330445633 020732 0ustar00isaacsstaff000000 000000 [ [ "warn", "invalid: path is required" ], [ "warn", "invalid entry" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/trailing-slash-corner-case--filter-strict.json000644 000765 000024 00000007755 13330445633 026331 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/trailing-slash-corner-case--filter.json000644 000765 000024 00000007755 13330445633 025023 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/trailing-slash-corner-case--meta-250-filter-strict.json000644 000765 000024 00000007755 13330445633 027561 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/trailing-slash-corner-case--meta-250-filter.json000644 000765 000024 00000007755 13330445633 026253 0ustar00isaacsstaff000000 000000 [ [ "ignoredEntry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "ignoredEntry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/trailing-slash-corner-case--meta-250-strict.json000644 000765 000024 00000007733 13330445633 026272 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/trailing-slash-corner-case--meta-250.json000644 000765 000024 00000007733 13330445633 024764 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/trailing-slash-corner-case--strict.json000644 000765 000024 00000007733 13330445633 025042 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/trailing-slash-corner-case.json000644 000765 000024 00000007733 13330445633 023457 0ustar00isaacsstaff000000 000000 [ [ "entry", { "extended": null, "globalExtended": null, "type": "Directory", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/", "mode": 493, "uid": 501, "gid": 20, "size": 0, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13612, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-19T00:03:11.000Z", "cksum": 13611, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt\u0000" ], [ "entry", { "extended": { "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt" }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "uname": null, "gname": null, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "atime": null, "ctime": null, "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt", "mode": 420, "uid": 501, "gid": 20, "size": 560, "mtime": "2018-06-18T23:49:44.000Z", "cksum": 13602, "linkpath": "", "uname": null, "gname": null, "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/utf8--filter-strict.json000644 000765 000024 00000011051 13330445633 022057 0ustar00isaacsstaff000000 000000 [ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/utf8--filter.json000644 000765 000024 00000011051 13330445633 020551 0ustar00isaacsstaff000000 000000 [ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/utf8--meta-250-filter-strict.json000644 000765 000024 00000011051 13330445633 023307 0ustar00isaacsstaff000000 000000 [ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/utf8--meta-250-filter.json000644 000765 000024 00000011051 13330445633 022001 0ustar00isaacsstaff000000 000000 [ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "ignoredEntry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": true, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/utf8--meta-250-strict.json000644 000765 000024 00000011027 13330445633 022027 0ustar00isaacsstaff000000 000000 [ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/utf8--meta-250.json000644 000765 000024 00000011027 13330445633 020521 0ustar00isaacsstaff000000 000000 [ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/utf8--strict.json000644 000765 000024 00000011027 13330445633 020577 0ustar00isaacsstaff000000 000000 [ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] test/fixtures/parse/utf8.json000644 000765 000024 00000011027 13330445633 017214 0ustar00isaacsstaff000000 000000 [ [ "meta", "15 path=Ω.txt\n20 ctime=1491843102\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836217\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:51:42.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836217, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:51:42.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:51:42.000Z", "cksum": 5688, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "17 path=🌟.txt\n20 ctime=1491843956\n20 atime=1491843993\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836716\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:06:33.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T17:05:56.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "🌟.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836716, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "atime": "2017-04-10T17:06:33.000Z", "ctime": "2017-04-10T17:05:56.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "🌟.txt", "mode": 420, "uid": 501, "gid": 20, "size": 106, "mtime": "2017-04-10T17:05:55.000Z", "cksum": 6023, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "meta", "71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt\n20 ctime=1491843527\n20 atime=1491843758\n23 SCHILY.dev=16777220\n22 SCHILY.ino=9836396\n18 SCHILY.nlink=1\n" ], [ "entry", { "extended": { "atime": "2017-04-10T17:02:38.000Z", "charset": null, "comment": null, "ctime": "2017-04-10T16:58:47.000Z", "gid": null, "gname": null, "linkpath": null, "mtime": null, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "size": null, "uid": null, "uname": null, "dev": 16777220, "ino": 9836396, "nlink": 1, "global": false }, "globalExtended": null, "type": "File", "meta": false, "ignore": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "uname": "isaacs", "gname": "staff", "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "atime": "2017-04-10T17:02:38.000Z", "ctime": "2017-04-10T16:58:47.000Z", "linkpath": "", "header": { "cksumValid": true, "needPax": false, "path": "long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt", "mode": 420, "uid": 501, "gid": 20, "size": 2, "mtime": "2017-04-10T16:58:47.000Z", "cksum": 9990, "linkpath": "", "uname": "isaacs", "gname": "staff", "devmaj": 0, "devmin": 0, "atime": null, "ctime": null } } ], [ "nullBlock" ], [ "nullBlock" ], [ "end" ] ] c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/sync-gzip-fail.tgz000066400000000000000000000004501333044642000214460ustar00rootroot00000000000000:Zj1@7?7>P(;TE oęל\W,!PrѤ&d9w羕m]߷헝N<~h>c=?Xw?۳wgjRgt?B5)3O?B5 3zj{?B̬|F?&j>@#(OI2տOI4?&?B^BPc3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/000077500000000000000000000000001333044642000170365ustar00rootroot00000000000000c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/bad-cksum.tar000066400000000000000000000060001333044642000214100ustar00rootroot00000000000000one-byte.txt000644 000765 000024 00000000001 13072734654 013751 0ustar00isaacsstaff000000 000000 anne-byte.txt000644 000765 000024 00000000001 13072734654 013751 0ustar00isaacsstaff000000 000000 ac3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/body-byte-counts.tar000066400000000000000000000120001333044642000227460ustar00rootroot000000000000001024-bytes.txt000644 000765 000024 00000002000 13072734613 013735 0ustar00isaacsstaff000000 000000 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 512-bytes.txt000644 000765 000024 00000001000 13072736047 013660 0ustar00isaacsstaff000000 000000 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx one-byte.txt000644 000765 000024 00000000001 13072734654 013751 0ustar00isaacsstaff000000 000000 azero-byte.txt000644 000765 000024 00000000000 13072735761 014146 0ustar00isaacsstaff000000 000000 c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/dir.tar000066400000000000000000000030001333044642000203150ustar00rootroot00000000000000dir/000755 000765 000024 00000000000 13072735041 012244 5ustar00isaacsstaff000000 000000 c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/emptypax.tar000066400000000000000000000110001333044642000214050ustar00rootroot00000000000000PaxHeader/🌟.txt000644 000765 000024 00000000170 13072735563 015560 xustar00isaacsstaff000000 000000 17 path=🌟.txt 20 ctime=1491843956 20 atime=1491845601 23 SCHILY.dev=16777220 22 SCHILY.ino=9836716 18 SCHILY.nlink=1 🌟.txt000644 000765 000024 00000000152 13072735563 013607 0ustar00isaacsstaff000000 000000 🌟✧✩⭐︎✪✫✬✭✮⚝✯✰✵✶✷✸✹❂⭑⭒★☆✡☪✴︎✦✡️🔯✴️🌠 PaxHeader/🌟.txt000644 000765 000024 0000000000 13072735563015430 xustar00isaacsstaff000000 000000 one-byte.txt000644 000765 000024 00000000001 13072734654 013751 0ustar00isaacsstaff000000 000000 ac3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/file.tar000066400000000000000000000040001333044642000204570ustar00rootroot00000000000000one-byte.txt000644 000765 000024 00000000001 13072734654 013751 0ustar00isaacsstaff000000 000000 ac3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/global-header.tar000066400000000000000000000060001333044642000222300ustar00rootroot00000000000000PaxHeader/ab000644 0000000013 007054 gustar00000000 000000 11 path=ab one-byte.txt000644 000765 000024 00000000001 13072734654 013751 0ustar00isaacsstaff000000 000000 ac3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/links-invalid.tar000066400000000000000000000060001333044642000223060ustar00rootroot00000000000000hardlink-1000644 000765 000024 0000000032 13072756211015074 0hardlink-2ustar00isaacsstaff000000 000000 this link is like diamond hardlink-2000644 000765 000024 0000000000 13072756211013215 1ustar00isaacsstaff000000 000000 symlink000755 000765 000024 00000000000 13072756245 014757 2hardlink-2ustar00isaacsstaff000000 000000 c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/links.tar000066400000000000000000000060001333044642000206620ustar00rootroot00000000000000hardlink-1000644 000765 000024 00000000032 13072756211 013340 0ustar00isaacsstaff000000 000000 this link is like diamond hardlink-2000644 000765 000024 00000000000 13072756211 015210 1hardlink-1ustar00isaacsstaff000000 000000 symlink000755 000765 000024 00000000000 13072756245 014757 2hardlink-2ustar00isaacsstaff000000 000000 c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/long-paths.tar000066400000000000000000000640001333044642000216220ustar00rootroot00000000000000100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc000644 000765 000024 00000000144 13072734156 034400 0ustar00isaacsstaff000000 000000 ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccPaxHeader/120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc000644 000765 000024 00000000351 13072734264 034107 xustar00isaacsstaff000000 000000 130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 20 ctime=1491843252 20 atime=1491843717 23 SCHILY.dev=16777220 22 SCHILY.ino=9836297 18 SCHILY.nlink=1 120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc000644 000765 000024 00000000144 13072734264 034237 0ustar00isaacsstaff000000 000000 ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccPaxHeader/170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc000644 000765 000024 00000000433 13072734462 034115 xustar00isaacsstaff000000 000000 180 path=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 20 ctime=1491843378 20 atime=1491843717 23 SCHILY.dev=16777220 22 SCHILY.ino=9836326 18 SCHILY.nlink=1 170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc000644 000765 000024 00000000144 13072734462 034244 0ustar00isaacsstaff000000 000000 cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccclong-path/000755 000765 000024 00000000000 13072734104 013356 5ustar00isaacsstaff000000 000000 long-path/r/000755 000765 000024 00000000000 13072734104 013617 5ustar00isaacsstaff000000 000000 long-path/r/e/000755 000765 000024 00000000000 13072734104 014043 5ustar00isaacsstaff000000 000000 long-path/r/e/a/000755 000765 000024 00000000000 13072734104 014263 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/000755 000765 000024 00000000000 13072734104 014516 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/000755 000765 000024 00000000000 13072734104 014751 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/000755 000765 000024 00000000000 13072734104 015221 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/000755 000765 000024 00000000000 13072734104 015355 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/000755 000765 000024 00000000000 13072734104 015600 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/000755 000765 000024 00000000000 13072734104 016024 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/000755 000765 000024 00000000000 13072734104 016250 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/000755 000765 000024 00000000000 13072734104 016507 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/000755 000765 000024 00000000000 13072734104 016643 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/000755 000765 000024 00000000000 13072734104 017070 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/000755 000765 000024 00000000000 13072734104 017326 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/000755 000765 000024 00000000000 13072734104 017561 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/000755 000765 000024 00000000000 13072734104 020004 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/000755 000765 000024 00000000000 13072734104 020230 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/000755 000765 000024 00000000000 13072734104 020471 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/000755 000765 000024 00000000000 13072734104 020625 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/000755 000765 000024 00000000000 13072734104 021064 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/000755 000765 000024 00000000000 13072734104 021304 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/000755 000765 000024 00000000000 13072734104 021547 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/000755 000765 000024 00000000000 13072734707 022007 5ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt000644 000765 000024 00000000006 13072734516 022762 0ustar00isaacsstaff000000 000000 short cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc000644 000765 000024 00000000144 13072734104 045174 0ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/hcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccch/PaxHeader/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc000644 000765 000024 00000000441 13072734104 044701 xustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t186 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 20 ctime=1491843140 20 atime=1491843717 23 SCHILY.dev=16777220 22 SCHILY.ino=9836253 18 SCHILY.nlink=1 ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc000644 000765 000024 00000000144 13072734104 045031 0ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/hcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccch/PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccc000644 000765 000024 00000000523 13072734104 046734 xustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t236 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 20 ctime=1491843140 20 atime=1491843717 23 SCHILY.dev=16777220 22 SCHILY.ino=9836254 18 SCHILY.nlink=1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc000644 000765 000024 00000000144 13072734104 047063 0ustar00isaacsstaff000000 000000 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/hcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccclong-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/Ω.txt000644 000765 000024 00000000256 13072734707 025372 xustar00isaacsstaff000000 000000 71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt 20 ctime=1491843527 20 atime=1491844045 23 SCHILY.dev=16777220 22 SCHILY.ino=9836396 18 SCHILY.nlink=1 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt000644 000765 000024 00000000002 13072734707 023406 0ustar00isaacsstaff000000 000000 Ωc3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/long-pax.tar000066400000000000000000000060001333044642000212670ustar00rootroot00000000000000PaxHeader/120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc000644 000765 000024 0000002402 13072734264034131 xustar00isaacsstaff000000 000000 130 path=120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 1069 comment=all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy all work and no play makes johnny a tar boy 9 gid=20 15 gname=staff 20 mtime=1491843252 12 size=100 11 uid=501 16 uname=isaacs 120-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc000644 000765 000024 00000000144 13072734264 034237 0ustar00isaacsstaff000000 000000 ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/next-file-has-long.tar000066400000000000000000000110001333044642000231370ustar00rootroot00000000000000NextFileHasLongPath0000000252 007674 Lustar00000000 000000 170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc170-byte-filename-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc000644 000765 000024 00000000144 13072734462 034244 0ustar00isaacsstaff000000 000000 ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccNextFileHasLongLinkpath0000000252 010551 Kustar00000000 000000 170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccclonglink000755 000765 000024 00000000000 13073011671 015737 2././@LongSymLinkustar00isaacsstaff000000 000000 c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/null-byte.tar000066400000000000000000000240001333044642000214550ustar00rootroot00000000000000this_is_a_really_long_directory_name_with_a_lot_of_characters/0000775000175000017500000000000013137726606025734 5ustar freitagbfreitagb././@LongLink0000644000000000000000000000017200000000000011603 Lustar rootrootthis_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_lot_of_characters.tgzthis_is_a_really_long_directory_name_with_a_lot_of_characters/this_is_a_really_long_tgz_file_with_a_0000664000175000017500000000031013137726601035552 0ustar freitagbfreitagbYij1 a)lca605xT>NPB(} !,>]}_.ķ9c)BM>NZ}CUMX[\ƨB?dE|* 5~?/Q2!ƭ|];^ɿ=ߔUEOy{6uT(c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/path-missing.tar000066400000000000000000000040001333044642000221430ustar00rootroot00000000000000000644 000765 000024 0000000001 13072734654011350 0ustar00isaacsstaff000000 000000 ac3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/trailing-slash-corner-case.tar000066400000000000000000000240001333044642000246620ustar00rootroot0000000000000099-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/0000755000076500000240000000000013312044077032454 5ustar rmgstaff././@LongLink0000644000000000000000000000023100000000000011720 Lustar rootwheel99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/a-truly-unlucky-file-beyond-130-byte-path-length.txt99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/0000644000076500000240000000106013312044077032453 0ustar rmgstaffBehold! I am a text file and NOT a tar header. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ././@LongLink0000644000000000000000000000017200000000000011724 Lustar rootwheel99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/some-unlucky-file.txt99-byte-dirname-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/0000644000076500000240000000106013312042430032442 0ustar rmgstaffBehold! I am a text file and NOT a tar header. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/fixtures/tars/utf8.tar000066400000000000000000000160001333044642000204310ustar00rootroot00000000000000PaxHeader/Ω.txt000644 000765 000024 00000000166 13072734036 015054 xustar00isaacsstaff000000 000000 15 path=Ω.txt 20 ctime=1491843102 20 atime=1491843758 23 SCHILY.dev=16777220 22 SCHILY.ino=9836217 18 SCHILY.nlink=1 Ω.txt000644 000765 000024 00000000002 13072734036 013070 0ustar00isaacsstaff000000 000000 ΩPaxHeader/🌟.txt000644 000765 000024 00000000170 13072735563 015560 xustar00isaacsstaff000000 000000 17 path=🌟.txt 20 ctime=1491843956 20 atime=1491843993 23 SCHILY.dev=16777220 22 SCHILY.ino=9836716 18 SCHILY.nlink=1 🌟.txt000644 000765 000024 00000000152 13072735563 013607 0ustar00isaacsstaff000000 000000 🌟✧✩⭐︎✪✫✬✭✮⚝✯✰✵✶✷✸✹❂⭑⭒★☆✡☪✴︎✦✡️🔯✴️🌠 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/PaxHeader/Ω.txt000644 000765 000024 00000000256 13072734707 025372 xustar00isaacsstaff000000 000000 71 path=long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt 20 ctime=1491843527 20 atime=1491843758 23 SCHILY.dev=16777220 22 SCHILY.ino=9836396 18 SCHILY.nlink=1 long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt000644 000765 000024 00000000002 13072734707 023406 0ustar00isaacsstaff000000 000000 Ωc3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/header.js000066400000000000000000000513151333044642000160070ustar00rootroot00000000000000'use strict' const Buffer = require('../lib/buffer.js') const t = require('tap') const Header = require('../lib/header.js') t.test('ustar format', t => { const buf = Buffer.from( '666f6f2e74787400000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000030303037353520003035373736312000303030303234200037373737' + '3737373737373700313236373735363735343000303133303531200030000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0075737461720030306973616163730000000000000000000000000000000000' + '0000000000000000007374616666000000000000000000000000000000000000' + '0000000000000000003030303030302000303030303030200000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000', 'hex') const h = new Header({ path: 'foo.txt' }) const slab = Buffer.alloc(1024) h.set({ mode: 0o755, uid: 24561, gid: 20, size: 0o77777777777, mtime: new Date('2016-04-01T22:00Z'), type: 'File', uname: 'isaacs', gname: 'staff' }) h.encode(slab) t.equal(slab.slice(0, 512).toString('hex'), buf.toString('hex')) t.equal(slab.toString('hex'), buf.toString('hex') + (new Array(1025).join('0'))) const h2 = new Header(buf) t.match(h2, { path: 'foo.txt', mode: 0o755, uid: 24561, gid: 20, size: 0o77777777777, ctime: null, atime: null, uname: 'isaacs', gname: 'staff', cksumValid: true, cksum: 5673 }) t.end() }) t.test('xstar format', t => { const buf = Buffer.from( '666f6f2e74787400000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000030303037353520003035373736312000303030303234200030303030' + '3030303134342000313236373735363735343000303135313331200030000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0075737461720030306973616163730000000000000000000000000000000000' + '0000000000000000007374616666000000000000000000000000000000000000' + '0000000000000000003030303030302000303030303030200000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000031323637' + '3735363735343000313236373735363735343000000000000000000000000000' + // just some junk '420420420420420420420420420420420420420420420420420420420420', 'hex') const h = new Header({ path: 'foo.txt' }) h.set({ mode: 0o755, uid: 24561, gid: 20, size: 100, mtime: new Date('2016-04-01T22:00Z'), ctime: new Date('2016-04-01T22:00Z'), atime: new Date('2016-04-01T22:00Z'), type: 'File', uname: 'isaacs', gname: 'staff' }) h.encode() const slab = h.block t.equal(slab.toString('hex'), buf.slice(0, 512).toString('hex')) const h2 = new Header(buf) t.match(h2, { path: 'foo.txt', mode: 0o755, uid: 24561, gid: 20, size: 100, mtime: new Date('2016-04-01T22:00Z'), ctime: new Date('2016-04-01T22:00Z'), atime: new Date('2016-04-01T22:00Z'), type: 'File', uname: 'isaacs', gname: 'staff', cksumValid: true, cksum: 6745 }) t.end() }) t.test('prefix handling', t => { t.plan(4) t.test('no times', t => { const buf = Buffer.from( '666f6f2e74787400000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000030303037353520003035373736312000303030303234200030303030' + '3030303134342000313236373735363735343000303337323734200030000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0075737461720030306973616163730000000000000000000000000000000000' + '0000000000000000007374616666000000000000000000000000000000000000' + '00000000000000000030303030303020003030303030302000722f652f612f6c' + '2f6c2f792f2d2f722f652f612f6c2f6c2f792f2d2f722f652f612f6c2f6c2f79' + '2f2d2f722f652f612f6c2f6c2f792f2d2f722f652f612f6c2f6c2f792f2d2f72' + '2f652f612f6c2f6c2f792f2d2f722f652f612f6c2f6c2f792f2d2f722f652f61' + '2f6c2f6c2f792f2d2f722f652f612f6c2f6c2f792f2d2f642f652f652f702f2d' + '2f702f612f742f68000000000000000000000000000000000000000000000000', 'hex') const h = new Header({ path: 'r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/' + 'r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-' + '/r/e/a/l/l/y/-/r/e/a/l/l/y/-/d/e/e/p/-/p/a/t/h/foo.txt', mode: 0o755, uid: 24561, gid: 20, size: 100, mtime: new Date('2016-04-01T22:00Z'), ctime: null, atime: undefined, type: '0', uname: 'isaacs', gname: 'staff' }) const b2 = Buffer.alloc(512) h.encode(b2, 0) t.equal(b2.toString().replace(/\0+/g, ' '), buf.toString().replace(/\0+/g, ' ')) t.equal(b2.toString('hex'), buf.toString('hex')) const h2 = new Header(buf) t.match(h2, { path: 'r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/' + 'r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-' + '/r/e/a/l/l/y/-/r/e/a/l/l/y/-/d/e/e/p/-/p/a/t/h/foo.txt', mode: 0o755, uid: 24561, gid: 20, size: 100, mtime: new Date('2016-04-01T22:00Z'), ctime: null, atime: null, type: 'File', uname: 'isaacs', gname: 'staff', cksumValid: true, cksum: 16060, needPax: false }) t.equal(b2.toString().replace(/\0.*$/, ''), 'foo.txt') t.equal(b2.slice(345).toString().replace(/\0.*$/, ''), 'r/e/a/l/l/y/-' + '/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-' + '/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-' + '/d/e/e/p/-/p/a/t/h') t.end() }) t.test('a/c times, use shorter prefix field', t => { const buf = Buffer.from( '652f702f2d2f702f612f742f682f666f6f2e7478740000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000030303037353520003035373736312000303030303234200030303030' + '3030303134342000313236373735363735343000303431353030200030000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0075737461720030306973616163730000000000000000000000000000000000' + '0000000000000000007374616666000000000000000000000000000000000000' + '00000000000000000030303030303020003030303030302000722f652f612f6c' + '2f6c2f792f2d2f722f652f612f6c2f6c2f792f2d2f722f652f612f6c2f6c2f79' + '2f2d2f722f652f612f6c2f6c2f792f2d2f722f652f612f6c2f6c2f792f2d2f72' + '2f652f612f6c2f6c2f792f2d2f722f652f612f6c2f6c2f792f2d2f722f652f61' + '2f6c2f6c2f792f2d2f722f652f612f6c2f6c2f792f2d2f642f65000031323637' + '3735363735343000313236373735363735343000000000000000000000000000', 'hex') const h = new Header() h.path = 'r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/' + 'r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-' + '/r/e/a/l/l/y/-/r/e/a/l/l/y/-/d/e/e/p/-/p/a/t/h/foo.txt' h.mode = 0o755 h.uid = 24561 h.gid = 20 h.size = 100 h.mtime = new Date('2016-04-01T22:00Z') h.ctime = new Date('2016-04-01T22:00Z') h.atime = new Date('2016-04-01T22:00Z') h.type = 'File' h.uname = 'isaacs' h.gname = 'staff' const b2 = Buffer.alloc(512) h.encode(b2, 0) t.equal(b2.toString('hex'), buf.toString('hex')) const b3 = Buffer.alloc(1024) h.encode(b3, 100) t.equal(b2.toString('hex'), b3.slice(100, 612).toString('hex')) const h2 = new Header(b3, 100) t.match(h2, { path: 'r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/' + 'r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-' + '/r/e/a/l/l/y/-/r/e/a/l/l/y/-/d/e/e/p/-/p/a/t/h/foo.txt', mode: 0o755, uid: 24561, gid: 20, size: 100, mtime: new Date('2016-04-01T22:00Z'), ctime: new Date('2016-04-01T22:00Z'), atime: new Date('2016-04-01T22:00Z'), type: 'File', uname: 'isaacs', gname: 'staff', cksumValid: true, cksum: 17216, needPax: false }, 'header from buffer') t.equal(b2.toString().replace(/\0.*$/, ''), 'e/p/-/p/a/t/h/foo.txt') t.equal(b2.slice(345).toString().replace(/\0.*$/, ''), 'r/e/a/l/l/y/-' + '/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-' + '/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/d/e') t.end() }) t.test('hella long basename', t => { const buf = Buffer.from( '6c6f6e672d66696c652d6c6f6e672d66696c652d6c6f6e672d66696c652d6c6f' + '6e672d66696c652d6c6f6e672d66696c652d6c6f6e672d66696c652d6c6f6e67' + '2d66696c652d6c6f6e672d66696c652d6c6f6e672d66696c652d6c6f6e672d66' + '696c650030303037353520003035373736312000303030303234200030303030' + '3030303134342000313236373735363735343000303630313431200030000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0075737461720030306973616163730000000000000000000000000000000000' + '0000000000000000007374616666000000000000000000000000000000000000' + '00000000000000000030303030303020003030303030302000722f652f612f6c' + '2f6c2f792f2d2f722f652f612f6c2f6c2f792f2d2f722f652f612f6c2f6c2f79' + '2f2d2f722f652f612f6c2f6c2f792f2d2f722f652f612f6c2f6c2f792f2d2f72' + '2f652f612f6c2f6c2f792f2d2f722f652f612f6c2f6c2f792f2d2f722f652f61' + '2f6c2f6c2f792f2d2f722f652f612f6c2f6c2f792f2d2f642f652f652f702f2d' + '2f702f612f742f68000000000000000000000000000000000000000000000000', 'hex') const h = new Header({ path: 'r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/' + 'r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/' + 'r/e/a/l/l/y/-/r/e/a/l/l/y/-/d/e/e/p/-/p/a/t/h/' + (new Array(20).join('long-file-')) + 'long-file.txt', mode: 0o755, uid: 24561, gid: 20, size: 100, mtime: new Date('2016-04-01T22:00Z'), ctime: null, atime: undefined, type: '0', uname: 'isaacs', gname: 'staff' }) const b2 = Buffer.alloc(513) h.encode(b2, 1) t.equal(b2.toString('hex'), '00' + buf.toString('hex')) t.ok(h.needPax, 'need pax because long filename') const h2 = new Header(b2, 1) t.match(h2, { cksumValid: true, cksum: 24673, path: 'r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/' + 'r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/r/e/a/l/l/y/-/' + 'r/e/a/l/l/y/-/d/e/e/p/-/p/a/t/h/long-file-long-file-long-' + 'file-long-file-long-file-long-file-long-file-long-file-long-' + 'file-long-file', needPax: false }) t.end() }) t.test('long basename, long dirname', t => { const buf = Buffer.from( '6c6f6e672d6469726e616d652d6c6f6e672d6469726e616d652d6c6f6e672d64' + '69726e616d652d6c6f6e672d6469726e616d652d6c6f6e672d6469726e616d65' + '2d6c6f6e672d6469726e616d652d6c6f6e672d6469726e616d652d6c6f6e672d' + '6469720030303037353520003035373736312000303030303234200030303030' + '3030303134342000313236373735363735343000303334323035200030000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0075737461720030306973616163730000000000000000000000000000000000' + '0000000000000000007374616666000000000000000000000000000000000000' + '0000000000000000003030303030302000303030303030200000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000', 'hex') const h = new Header({ path: (new Array(30).join('long-dirname-')) + 'long-dirname/' + (new Array(20).join('long-file-')) + 'long-file.txt', mode: 0o755, uid: 24561, gid: 20, size: 100, mtime: new Date('2016-04-01T22:00Z'), ctime: null, atime: undefined, type: '0', uname: 'isaacs', gname: 'staff' }) const b2 = Buffer.alloc(512) h.encode(b2, 0) t.equal(h.type, 'File') t.equal(h.typeKey, '0') t.equal(b2.toString('hex'), buf.toString('hex')) t.equal(h.cksum, 14469) t.ok(h.needPax, 'need pax because long filename') const h2 = new Header(b2) t.match(h2, { path: 'long-dirname-long-dirname-long-dirname-long-dirname-' + 'long-dirname-long-dirname-long-dirname-long-dir', cksum: 14469, cksumValid: true, needPax: false }) t.end() }) }) t.test('throwers', t => { t.throws(_ => new Header(Buffer.alloc(100)), new Error('need 512 bytes for header')) t.throws(_ => new Header({}).encode(Buffer.alloc(100)), new Error('need 512 bytes for header')) t.end() }) t.test('null block', t => { const h = new Header(Buffer.alloc(512)) t.match(h, { cksumValid: false, needPax: false, path: '', type: 'File', mode: null, uid: null, gid: null, size: null, mtime: null, cksum: null, linkpath: '', uname: null, gname: null, devmaj: 0, devmin: 0, atime: null, ctime: null, nullBlock: true }) t.end() }) t.test('unknown type', t => { const h = new Header(Buffer.from( '666f6f2e74787400000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000030303037353520003035373736312000303030303234200030303030' + '303030313434200031323637373536373534300030303630373620005a000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000', 'hex')) t.equal(h.type, 'Z') t.equal(h.typeKey, 'Z') t.end() }) t.test('dir as file with trailing /', t => { const b = Buffer.from( '782f792f00000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000030303030' + '3030303030302000000000000000000000000000303034363136200030000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0075737461720030300000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000003030303030302000303030303030200000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000', 'hex') const h = new Header(b) t.equal(h.type, 'Directory') b[156] = '0'.charCodeAt(0) const h2 = new Header(b) t.equal(h2.type, 'Directory') t.end() }) t.test('null numeric values do not get written', t => { const b = Buffer.alloc(512) const h = new Header() h.encode(b, 0) t.equal( b.toString('hex'), '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000303033303737200030000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0075737461720030300000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000003030303030302000303030303030200000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000') const h2 = new Header(b) t.match(h2, { type: 'File', cksumValid: true, needPax: false, nullBlock: false, path: '', mode: null, uid: null, gid: null, size: null, mtime: null, cksum: 1599, linkpath: '', uname: '', gname: '', devmaj: 0, devmin: 0, atime: null, ctime: null }) t.end() }) t.test('big numbers', t => { const b = Buffer.alloc(512) const h = new Header({ path: 'bignum', size: 0o77777777777 + 1 }) h.encode(b, 0) const h2 = new Header(b) t.equal(h2.size, 0o77777777777 + 1) t.end() }) t.test('dir with long body', t => { const b = Buffer.from( '7061636b6167652f76656e646f72000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000030303037353520003030303030302000303030303030200030303030' + '3030313030303020313330363133303232343120303132303236200035000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0075737461720030300000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000003030303030302000303030303030200000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000', 'hex') const h = new Header(b) t.equal(h.type, 'Directory') t.equal(h.size, 0) t.end() }) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/high-level-opt.js000066400000000000000000000011351333044642000173760ustar00rootroot00000000000000'use strict' const t = require('tap') const hlo = require('../lib/high-level-opt.js') t.same(hlo(), {}) t.same(hlo({ C: 'dir', f: 'file', z: 'zip', P: 'preserve', U: 'unlink', 'strip-components': 99, foo: 'bar' }), { cwd: 'dir', file: 'file', gzip: 'zip', preservePaths: 'preserve', unlink: 'unlink', strip: 99, foo: 'bar' }) t.same(hlo({ C: 'dir', f: 'file', z: 'zip', P: 'preserve', U: 'unlink', stripComponents: 99, foo: 'bar' }), { cwd: 'dir', file: 'file', gzip: 'zip', preservePaths: 'preserve', unlink: 'unlink', strip: 99, foo: 'bar' }) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/large-numbers.js000066400000000000000000000026231333044642000173200ustar00rootroot00000000000000'use strict' const Buffer = require('../lib/buffer.js') const large = require('../lib/large-numbers.js') const encode = large.encode const parse = large.parse const t = require('tap') t.test('parse', t => { const cases = new Map([ ['ffffffffffffffffffffff20', -1], ['800000000000100000000020', 68719476736], ['fffffffffffffffe1ecc8020', -31536000], ['fffffffffffffff000000020', -268435456], ['800000010203040506070020', 72623859790382850], ['ffffffffffffffffffffff00', -1], ['800000000000100000000000', 68719476736], ['fffffffffffffffe1ecc8000', -31536000], ['fffffffffffffff000000000', -268435456], ['800000010203040506070000', 72623859790382850] ]) t.plan(cases.size) cases.forEach((value, hex) => t.equal(parse(Buffer.from(hex, 'hex')), value)) }) t.test('encode', t => { const cases = new Map([ ['ffffffffffffffffffffff20', -1], ['800000000000100000000020', 68719476736], ['fffffffffffffffe1ecc8020', -31536000], ['fffffffffffffff000000020', -268435456], ['800000010203040506070020', 72623859790382850] ]) t.plan(2) t.test('alloc', t => { t.plan(cases.size) cases.forEach((value, hex) => t.equal(encode(value, Buffer.alloc(12)).toString('hex'), hex)) }) t.test('allocUnsafe', t => { t.plan(cases.size) cases.forEach((value, hex) => t.equal(encode(value, Buffer.allocUnsafe(12)).toString('hex'), hex)) }) }) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/list.js000066400000000000000000000151631333044642000155330ustar00rootroot00000000000000'use strict' const t = require('tap') const list = require('../lib/list.js') const path = require('path') const fs = require('fs') const mutateFS = require('mutate-fs') t.test('basic', t => { const file = path.resolve(__dirname, 'fixtures/tars/long-paths.tar') const expect = require('./fixtures/parse/long-paths.json').filter( e => Array.isArray(e) && e[0] === 'entry' ).map(e => e[1].path) const check = (actual, t) => { t.same(actual, expect) return Promise.resolve(null) } ;[1000, null].forEach(maxReadSize => { t.test('file maxReadSize=' + maxReadSize, t => { t.test('sync', t => { const actual = [] const onentry = entry => actual.push(entry.path) list({ file: file, sync: true, onentry: onentry, maxReadSize: maxReadSize }) return check(actual, t) }) t.test('async promise', t => { const actual = [] const onentry = entry => actual.push(entry.path) return list({ file: file, onentry: onentry, maxReadSize: maxReadSize }).then(_ => check(actual, t)) }) t.test('async cb', t => { const actual = [] const onentry = entry => actual.push(entry.path) list({ file: file, onentry: onentry, maxReadSize: maxReadSize }, er => { if (er) throw er check(actual, t) t.end() }) }) t.end() }) }) t.test('stream', t => { t.test('sync', t => { const actual = [] const onentry = entry => actual.push(entry.path) const l = list({ sync: true, onentry: onentry }) l.end(fs.readFileSync(file)) return check(actual, t) }) t.test('async', t => { const actual = [] const onentry = entry => actual.push(entry.path) const l = list() l.on('entry', onentry) l.on('end', _ => check(actual, t).then(_ => t.end())) fs.createReadStream(file).pipe(l) }) t.end() }) t.test('no onentry function', t => list({ file: file })) t.test('limit to specific files', t => { const fileList = [ 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t', '170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc///' ] const expect = [ '170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt' ] t.test('no filter function', t => { const check = _ => t.same(actual, expect) const actual = [] return list({ file: file, onentry: entry => actual.push(entry.path) }, fileList).then(check) }) t.test('no filter function, stream', t => { const check = _ => t.same(actual, expect) const actual = [] const onentry = entry => actual.push(entry.path) fs.createReadStream(file).pipe(list(fileList) .on('entry', onentry) .on('end', _ => { check() t.end() })) }) t.test('filter function', t => { const check = _ => t.same(actual, expect.slice(0, 1)) const actual = [] return list({ file: file, filter: path => path === expect[0], onentry: entry => actual.push(entry.path) }, fileList).then(check) }) return t.test('list is unmunged', t => { t.same(fileList, [ 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t', '170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc///' ]) t.end() }) }) t.end() }) t.test('bad args', t => { t.throws(_ => list({ file: __filename, sync: true }, _ => _), new TypeError('callback not supported for sync tar functions')) t.throws(_ => list(_=>_), new TypeError('callback only supported with file option')) t.end() }) t.test('stat fails', t => { const poop = new Error('poop') t.teardown(mutateFS.statFail(poop)) t.test('sync', t => { t.plan(1) t.throws(_ => list({ file: __filename, sync: true }), poop) }) t.test('cb', t => { t.plan(1) list({ file: __filename }, er => t.equal(er, poop)) }) t.test('promise', t => { t.plan(1) list({ file: __filename }).catch(er => t.equal(er, poop)) }) t.end() }) t.test('read fail', t => { t.test('sync', t => { const poop = new Error('poop') t.teardown(mutateFS.fail('read', poop)) t.plan(1) t.throws(_ => list({ file: __filename, sync: true, maxReadSize: 10 }), poop) }) t.test('cb', t => { const poop = new Error('poop') t.teardown(mutateFS.fail('read', poop)) t.plan(1) list({ file: __filename }, er => t.equal(er, poop)) }) t.test('promise', t => { const poop = new Error('poop') t.teardown(mutateFS.fail('read', poop)) t.plan(1) list({ file: __filename }).catch(er => t.equal(er, poop)) }) t.end() }) t.test('noResume option', t => { const file = path.resolve(__dirname, 'fixtures/tars/file.tar') t.test('sync', t => { let e list({ file: file, onentry: entry => { e = entry process.nextTick(_ => { t.notOk(entry.flowing) entry.resume() }) }, sync: true, noResume: true }) t.ok(e) t.notOk(e.flowing) e.on('end', _ => t.end()) }) t.test('async', t => { let e return list({ file: file, onentry: entry => { process.nextTick(_ => { t.notOk(entry.flowing) entry.resume() }) }, noResume: true }) }) t.end() }) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/load-all.js000066400000000000000000000005241333044642000162400ustar00rootroot00000000000000'use strict' // just load all the files so we can't cheat coverage by avoiding something require('../') const fs = require('fs') const path = require('path') const lib = path.resolve(__dirname, '../lib') fs.readdirSync(lib) .filter(f => /\.js$/.test(f)) .forEach(f => require('../lib/' + f)) require('tap').pass('all lib files loaded') c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/make-tar.js000066400000000000000000000010071333044642000162510ustar00rootroot00000000000000'use strict' const Buffer = require('../lib/buffer.js') // a little utility to create virtual tar data if (module === require.main) return require('tap').pass('this is fine') const Header = require('../lib/header.js') module.exports = chunks => Buffer.concat(chunks.map(chunk => { if (Buffer.isBuffer(chunk)) return chunk const buf = Buffer.alloc(512) if (typeof chunk === 'string') buf.write(chunk) else new Header(chunk).encode(buf, 0) return buf }), chunks.length * 512) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/mode-fix.js000066400000000000000000000003771333044642000162710ustar00rootroot00000000000000'use strict' const t = require('tap') const mf = require('../lib/mode-fix.js') t.equal(mf(0o10644, false), 0o644) t.equal(mf(0o10644, true), 0o755) t.equal(mf(0o10604, true), 0o705) t.equal(mf(0o10600, true), 0o700) t.equal(mf(0o10066, true), 0o077) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/pack.js000066400000000000000000000717361333044642000155060ustar00rootroot00000000000000'use strict' const Buffer = require('../lib/buffer.js') const t = require('tap') const Pack = require('../lib/pack.js') const PackSync = Pack.Sync const fs = require('fs') const path = require('path') const fixtures = path.resolve(__dirname, 'fixtures') const files = path.resolve(fixtures, 'files') const parse = path.resolve(fixtures, 'parse') const tars = path.resolve(fixtures, 'tars') const chmodr = require('chmodr') const Header = require('../lib/header.js') const zlib = require('zlib') const miniz = require('minizlib') const mutateFS = require('mutate-fs') const MiniPass = require('minipass') process.env.USER = 'isaacs' const EE = require('events').EventEmitter const rimraf = require('rimraf') const mkdirp = require('mkdirp') const ReadEntry = require('../lib/read-entry.js') const ctime = new Date('2017-05-10T01:03:12.000Z') const atime = new Date('2017-04-17T00:00:00.000Z') const mtime = new Date('2016-04-01T19:00:00.000Z') t.teardown(mutateFS.statMutate((er, st) => { if (st) { st.ctime = ctime st.atime = atime st.mtime = mtime } })) t.test('set up', t => { const one = fs.statSync(files + '/hardlink-1') const two = fs.statSync(files + '/hardlink-2') if (one.dev !== two.dev || one.ino !== two.ino) { try { fs.unlinkSync(files + '/hardlink-2') } catch (e) {} fs.linkSync(files + '/hardlink-1', files + '/hardlink-2') } chmodr.sync(files, 0o644) t.end() }) t.test('pack a file', t => { const out = [] new Pack({ cwd: files }) .end('one-byte.txt') .on('data', c => out.push(c)) .on('end', _ => { const data = Buffer.concat(out) t.equal(data.length, 2048) t.match(data.slice(512).toString(), /^a\0{511}\0{1024}$/) const h = new Header(data) const expect = { cksumValid: true, needPax: false, path: 'one-byte.txt', mode: 0o644, size: 1, mtime: mtime, cksum: Number, linkpath: '', uname: 'isaacs', gname: '', devmaj: 0, devmin: 0, atime: atime, ctime: ctime, nullBlock: false, type: 'File' } t.match(h, expect) || console.log(h, expect) const ps = new PackSync({ cwd: files }) const sout = [] ps.on('data', chunk => sout.push(chunk)) ps.add('one-byte.txt').end() const sync = Buffer.concat(sout) if (sync.length === 0) throw new Error('no data!') t.equal(sync.slice(512).toString(), data.slice(512).toString()) const hs = new Header(sync) t.match(hs, expect) t.end() }) }) t.test('pack a file with a prefix', t => { const out = [] new Pack({ cwd: files, prefix: 'package/' }) .end('.dotfile') .on('data', c => out.push(c)) .on('end', _ => { const data = Buffer.concat(out) t.equal(data.length, 2048) t.match(data.slice(512).toString(), /^.\n\0{510}\0{1024}$/) const h = new Header(data) const expect = { cksumValid: true, needPax: false, path: 'package/.dotfile', mode: 0o644, size: 2, mtime: mtime, cksum: Number, linkpath: '', uname: 'isaacs', gname: '', devmaj: 0, devmin: 0, atime: atime, ctime: ctime, nullBlock: false, type: 'File' } t.match(h, expect) const sync = new PackSync({ cwd: files, prefix: 'package' }) .add('.dotfile').end().read() t.equal(sync.slice(512).toString(), data.slice(512).toString()) const hs = new Header(sync) t.match(hs, expect) t.end() }) }) t.test('pack a dir', t => { const out = [] new Pack({ cwd: files, portable: true }) .add('dir') .on('data', c => out.push(c)) .end() .on('end', _ => { const data = Buffer.concat(out) // dir/, dir/x, and the nulls // neither the dir or the file have any body bits const h = new Header(data) const expect = { type: 'Directory', cksumValid: true, needPax: false, path: 'dir/', mode: 0o755, size: 0, mtime: null, cksum: Number, linkpath: '', uname: '', gname: '', devmaj: 0, devmin: 0, atime: null, ctime: null, nullBlock: false } t.match(h, expect) t.equal(data.length, 2048) t.match(data.slice(1024).toString(), /^\0{1024}$/) const sync = new PackSync({ cwd: files, portable: true }) .add('dir').end().read() t.equal(sync.slice(512).toString(), data.slice(512).toString()) const hs = new Header(sync) t.match(hs, expect) const expect2 = { type: 'File', cksumValid: true, needPax: false, path: 'dir/x', mode: 0o644, size: 0, mtime: mtime, cksum: Number, linkpath: '', uname: '', gname: '', devmaj: 0, devmin: 0, atime: null, ctime: null, nullBlock: false } t.match(new Header(data.slice(512)), expect2) t.match(new Header(sync.slice(512)), expect2) t.end() }) }) t.test('use process cwd if cwd not specified', t => { const cwd = process.cwd() t.tearDown(_ => process.chdir(cwd)) process.chdir(files) const out = [] new Pack() .add('dir') .on('data', c => out.push(c)) .end() .on('end', _ => { const data = Buffer.concat(out) // dir/, dir/x, and the nulls // neither the dir or the file have any body bits const h = new Header(data) const expect = { type: 'Directory', cksumValid: true, needPax: false, path: 'dir/', mode: 0o755, size: 0, mtime: mtime, cksum: Number, linkpath: '', uname: 'isaacs', gname: '', devmaj: 0, devmin: 0, atime: atime, ctime: ctime, nullBlock: false } t.match(h, expect) t.equal(data.length, 2048) t.match(data.slice(1024).toString(), /^\0{1024}$/) const sync = new PackSync({ cwd: files }) .add('dir').end().read() t.equal(sync.slice(512).toString(), data.slice(512).toString()) const hs = new Header(sync) t.match(hs, expect) const expect2 = { type: 'File', cksumValid: true, needPax: false, path: 'dir/x', mode: 0o644, size: 0, mtime: mtime, cksum: Number, linkpath: '', uname: 'isaacs', gname: '', devmaj: 0, devmin: 0, atime: atime, ctime: ctime, nullBlock: false } t.match(new Header(data.slice(512)), expect2) t.match(new Header(sync.slice(512)), expect2) t.end() }) }) t.test('filter', t => { const out = [] const filter = (path, stat) => stat.isDirectory() // only include directories, so dir/x should not appear new Pack({ cwd: files, filter: filter }) .add('dir') .on('data', c => out.push(c)) .end() .on('end', _ => { const data = Buffer.concat(out) // dir/, dir/x, and the nulls // neither the dir or the file have any body bits const h = new Header(data) const expect = { type: 'Directory', cksumValid: true, needPax: false, path: 'dir/', mode: 0o755, size: 0, mtime: mtime, cksum: Number, linkpath: '', uname: 'isaacs', gname: '', devmaj: 0, devmin: 0, atime: atime, ctime: ctime, nullBlock: false } t.match(h, expect) t.equal(data.length, 1536) t.match(data.slice(512).toString(), /^\0{1024}$/) const sync = new PackSync({ cwd: files, filter: filter }) .add('dir').end().read() t.equal(sync.slice(512).toString(), data.slice(512).toString()) const hs = new Header(sync) t.match(hs, expect) t.end() }) }) t.test('add the same dir twice (exercise cache code)', t => { const out = [] const filter = (path, stat) => stat.isDirectory() // only include directories, so dir/x should not appear const pack = new Pack({ cwd: files, filter: filter }) .add('dir') .add('dir') .on('data', c => out.push(c)) .end() .on('end', _ => { const data = Buffer.concat(out) // dir/, dir/x, and the nulls // neither the dir or the file have any body bits const h = new Header(data) const expect = { type: 'Directory', cksumValid: true, needPax: false, path: 'dir/', mode: 0o755, size: 0, mtime: mtime, cksum: Number, linkpath: '', uname: 'isaacs', gname: '', devmaj: 0, devmin: 0, atime: atime, ctime: ctime, nullBlock: false } t.match(h, expect) const h2 = new Header(data.slice(512)) t.match(h2, expect) t.equal(data.length, 2048) t.match(data.slice(1024).toString(), /^\0{1024}$/) const sync = new PackSync({ cwd: files, filter: filter, linkCache: pack.linkCache, readdirCache: pack.readdirCache, statCache: pack.statCache }) .add('dir').add('dir').end().read() t.equal(sync.slice(1024).toString(), data.slice(1024).toString()) const hs = new Header(sync) t.match(hs, expect) const hs2 = new Header(sync.slice(512)) t.match(hs2, expect) t.end() }) }) t.test('if gzip is truthy, make it an object', t => { const opt = { gzip: true } const pack = new Pack(opt) t.isa(opt.gzip, 'object') t.end() }) t.test('gzip, also a very deep path', t => { const out = [] const pack = new Pack({ cwd: files, gzip: { flush: 1 } }) .add('dir') .add('long-path') .on('data', c => out.push(c)) .end() .on('end', _ => { const zipped = Buffer.concat(out) const data = zlib.unzipSync(zipped) const entries = [] for (var i = 0; i < data.length; i += 512) { const slice = data.slice(i, i + 512) const h = new Header(slice) if (h.nullBlock) entries.push('null block') else if (h.cksumValid) entries.push([h.type, h.path]) else if (entries[entries.length-1][0] === 'File') entries[entries.length-1].push(slice.toString().replace(/\0.*$/, '')) } const expect = [ [ 'Directory', 'dir/' ], [ 'Directory', 'long-path/' ], [ 'File', 'dir/x' ], [ 'Directory', 'long-path/r/' ], [ 'Directory', 'long-path/r/e/' ], [ 'Directory', 'long-path/r/e/a/' ], [ 'Directory', 'long-path/r/e/a/l/' ], [ 'Directory', 'long-path/r/e/a/l/l/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/' ], [ 'File', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt', 'short\n' ], [ 'File', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', '1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111' ], [ 'ExtendedHeader', 'PaxHeader/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc'], [ 'File', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', '2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222' ], [ 'ExtendedHeader', 'PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccc' ], [ 'File', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc', 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' ], [ 'ExtendedHeader', 'PaxHeader/Ω.txt' ], [ 'File', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt', 'Ω' ], 'null block', 'null block' ] let ok = true entries.forEach((entry, i) => { ok = ok && t.equal(entry[0], expect[i][0]) && t.equal(entry[1], expect[i][1]) && (!entry[2] || t.equal(entry[2], expect[i][2])) }) // t.match(entries, expect) t.end() }) }) t.test('very deep gzip path, sync', t => { const out = [] const pack = new PackSync({ cwd: files, gzip: true }).add('dir') .add('long-path') .end() // these do nothing! pack.pause() pack.resume() const zipped = pack.read() t.isa(zipped, Buffer) const data = zlib.unzipSync(zipped) const entries = [] for (var i = 0; i < data.length; i += 512) { const slice = data.slice(i, i + 512) const h = new Header(slice) if (h.nullBlock) entries.push('null block') else if (h.cksumValid) entries.push([h.type, h.path]) else if (entries[entries.length-1][0] === 'File') entries[entries.length-1].push(slice.toString().replace(/\0.*$/, '')) } const expect = [ [ 'Directory', 'dir/' ], [ 'File', 'dir/x' ], [ 'Directory', 'long-path/' ], [ 'Directory', 'long-path/r/' ], [ 'Directory', 'long-path/r/e/' ], [ 'Directory', 'long-path/r/e/a/' ], [ 'Directory', 'long-path/r/e/a/l/' ], [ 'Directory', 'long-path/r/e/a/l/l/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/' ], [ 'Directory', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/' ], [ 'File', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt', 'short\n' ], [ 'File', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', '1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111' ], [ 'ExtendedHeader', 'PaxHeader/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc'], [ 'File', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', '2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222' ], [ 'ExtendedHeader', 'PaxHeader/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccc' ], [ 'File', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccccccccccccccccccccccccccccccccccccccccccccccccc', 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' ], [ 'ExtendedHeader', 'PaxHeader/Ω.txt' ], [ 'File', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt', 'Ω' ], 'null block', 'null block' ] let ok = true entries.forEach((entry, i) => { ok = ok && t.equal(entry[0], expect[i][0]) && t.equal(entry[1], expect[i][1]) && (!entry[2] || t.equal(entry[2], expect[i][2])) }) // t.match(entries, expect) t.end() }) t.test('write after end', t => { const p = new Pack() p.end() t.throws(_ => p.add('nope'), new Error('write after end')) t.end() }) t.test('emit error when stat fail', t => { t.tearDown(mutateFS.statFail(new Error('xyz'))) t.throws(_ => new PackSync({ cwd: files }).add('one-byte.txt'), new Error('xyz')) const p = new Pack({ cwd: files }).add('one-byte.txt').on('error', e => { t.match(e, { message: 'xyz' }) t.end() }) }) t.test('readdir fail', t => { t.tearDown(mutateFS.fail('readdir', new Error('xyz'))) t.throws(_ => new PackSync({ cwd: files }).add('dir'), new Error('xyz')) const p = new Pack({ cwd: files }).add('dir').on('error', e => { t.match(e, { message: 'xyz' }) t.end() }) }) t.test('pipe into a slow reader', t => { const out = [] const mp = new MiniPass() const mp2 = new MiniPass() const p = new Pack({ cwd: files }).add('long-path').end() p.pause() p.pipe(mp).pipe(mp2) setTimeout(_ => { mp2.on('data', c => out.push(c)) setTimeout(_ => p.resume(), 100) }, 100) mp.on('end', _ => { const data = Buffer.concat(out) const h = new Header(data) const expect = { type: 'Directory', cksumValid: true, needPax: false, path: 'long-path/', mode: 0o755, size: 0, mtime: mtime, cksum: Number, linkpath: '', uname: 'isaacs', gname: '', devmaj: 0, devmin: 0, atime: atime, ctime: ctime, nullBlock: false } t.match(h, expect) t.equal(data.length, 21504) t.match(data.slice(data.length - 1024).toString(), /^\0{1024}$/) t.end() }) }) t.test('pipe into a slow gzip reader', t => { const out = [] const mp2 = new miniz.Unzip() const p = new Pack({ cwd: files, gzip: true }).add('long-path').end() p.pause() class SlowStream extends EE { write (chunk) { mp2.write(chunk) setTimeout(_ => { this.emit('drain') p.resume() }) return false } end (chunk) { return mp2.end(chunk) } } const ss = new SlowStream() setTimeout(_=> { p.pipe(ss) p.resume() }) mp2.on('data', c => out.push(c)) mp2.on('end', _ => { t.pass('mp2 end') const data = Buffer.concat(out) // dir/, dir/x, and the nulls // neither the dir or the file have any body bits const h = new Header(data) const expect = { type: 'Directory', cksumValid: true, needPax: false, path: 'long-path/', mode: 0o755, size: 0, mtime: mtime, cksum: Number, linkpath: '', uname: 'isaacs', gname: '', devmaj: 0, devmin: 0, atime: atime, ctime: ctime, nullBlock: false } t.match(h, expect) t.equal(data.length, 21504) t.match(data.slice(data.length - 1024).toString(), /^\0{1024}$/) t.end() }) }) t.test('ignores mid-queue', t => { // we let the first one through, and then ignore all the others // so that we trigger the case where an ignored entry is not the // head of the queue. let didFirst = false const p = new Pack({ cwd: tars, filter: (p, st) => { if (p === './') return true if (!didFirst) return didFirst = true return false } }) const out = [] const files = fs.readdirSync(tars) p.on('data', c => out.push(c)) p.on('end', _ => { const data = Buffer.concat(out) t.equal(data.slice(0, 100).toString().replace(/\0.*$/, ''), './') const file = data.slice(512, 612).toString().replace(/\0.*$/, '') t.notequal(files.indexOf(file), -1) t.end() }) p.add('') p.end() }) t.test('warnings', t => { const f = path.resolve(files, '512-bytes.txt') t.test('preservePaths=false strict=false', t => { const warnings = [] const p = new Pack({ cwd: files, onwarn: (m, p) => warnings.push([m, p]) }).end(f).on('data', c => out.push(c)) const out = [] p.on('end', _ => { const data = Buffer.concat(out) t.equal(data.length, 2048) t.match(warnings, [[ /stripping .* from absolute path/, f ]]) t.match(new Header(data), { path: f.replace(/^(\/|[a-z]:\\\\)/, '') }) t.end() }) }) t.test('preservePaths=true', t => { t.plan(2) // with preservePaths, strictness doens't matter ;[true, false].forEach(strict => { t.test('strict=' + strict, t => { const warnings = [] const out = [] const p = new Pack({ cwd: files, strict: strict, preservePaths: true, onwarn: (m, p) => warnings.push([m, p]) }).end(f).on('data', c => out.push(c)) p.on('end', _ => { const data = Buffer.concat(out) t.equal(warnings.length, 0) t.match(new Header(data), { path: f }) t.end() }) }) }) }) t.test('preservePaths=false strict=true', t => { new Pack({ strict: true, cwd: files }).end(f).on('error', e => { t.match(e, { message: /stripping .* from absolute path/, data: f }) t.end() }) }) t.end() }) t.test('no dir recurse', t => { const dir = path.resolve(fixtures, 'pack-no-dir-recurse') t.teardown(_ => rimraf.sync(dir)) t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir + '/x') fs.writeFileSync(dir + '/x/y', 'y') cb() }) const check = (t, data) => { t.equal(data.length, 512 + 1024) t.equal(data.slice(512).toString(), new Array(1025).join('\0')) t.match(new Header(data), { type: 'Directory', path: 'x/', size: 0 }) t.end() } t.test('async', t => { const p = new Pack({ cwd: dir, noDirRecurse: true }) const out = [] p.end('x') .on('data', c => out.push(c)) .on('end', _ => check(t, Buffer.concat(out))) }) t.test('sync', t => { const p = new Pack.Sync({ cwd: dir, noDirRecurse: true }) p.end('x') check(t, p.read()) }) t.end() }) t.test('follow', t => { const check = (out, t) => { const data = Buffer.concat(out) t.equal(data.length, 2048) t.match(new Header(data, 0), { type: 'File', cksumValid: true, needPax: false, path: 'symlink', mode: 0o644, size: 26 }) t.match(data.slice(512).toString(), /this link is like diamond\n\0+$/) t.end() } t.test('async', t => { const out = [] const p = new Pack({ cwd: files, follow: true }) p.on('data', c => out.push(c)) p.on('end', _ => check(out, t)) p.end('symlink') }) t.test('sync', t => { const out = [] const p = new Pack.Sync({ cwd: files, follow: true }) p.on('data', c => out.push(c)) p.end('symlink') check(out, t) }) t.end() }) t.test('pack ReadEntries', t => { t.test('basic', t => { const readEntry = new ReadEntry(new Header({ path: 'x', type: 'File', size: 1 })) const p = new Pack() p.end(readEntry) const out = [] p.on('data', c => out.push(c)) p.on('end', _ => { const data = Buffer.concat(out) t.equal(data.length, 2048) t.match(data.slice(1024).toString(), /^\0+$/) t.equal(data.slice(0, 100).toString().replace(/\0.*$/, ''), 'x') t.equal(data.slice(512, 514).toString(), 'x\0') t.end() }) const buf = Buffer.alloc(512) buf.write('x') readEntry.end(buf) }) t.test('prefix', t => { const readEntry = new ReadEntry(new Header({ path: 'x', type: 'File', size: 1 })) const p = new Pack({ prefix: 'y' }) p.end(readEntry) const out = [] p.on('data', c => out.push(c)) p.on('end', _ => { const data = Buffer.concat(out) t.equal(data.length, 2048) t.match(data.slice(1024).toString(), /^\0+$/) t.equal(data.slice(0, 100).toString().replace(/\0.*$/, ''), 'y/x') t.equal(data.slice(512, 514).toString(), 'x\0') t.end() }) const buf = Buffer.alloc(512) buf.write('x') readEntry.end(buf) }) t.test('filter out', t => { const re1 = new ReadEntry(new Header({ path: 'a', type: 'File', size: 1 })) const re2 = new ReadEntry(new Header({ path: 'x', type: 'File', size: 1 })) const re3 = new ReadEntry(new Header({ path: 'y', type: 'File', size: 1 })) const p = new Pack({ filter: p => p === 'x' }) p.add(re1) p.add(re2) p.end(re3) const out = [] p.on('data', c => out.push(c)) p.on('end', _ => { const data = Buffer.concat(out) t.equal(data.length, 2048) t.match(data.slice(1024).toString(), /^\0+$/) t.equal(data.slice(0, 100).toString().replace(/\0.*$/, ''), 'x') t.equal(data.slice(512, 514).toString(), 'x\0') t.end() }) { const buf = Buffer.alloc(512) buf.write('x') re1.end(buf) } { const buf = Buffer.alloc(512) buf.write('x') re2.end(buf) } { const buf = Buffer.alloc(512) buf.write('x') re3.end(buf) } }) t.end() }) t.test('filter out everything', t => { const filter = _ => false const check = (out, t) => { const data = Buffer.concat(out) t.equal(data.length, 1024) t.match(data.toString(), /^\0+$/) t.end() } t.test('sync', t => { const out = [] const p = new Pack.Sync({ cwd: files, filter: filter }) p.on('data', c => out.push(c)) p.end('./') check(out, t) }) t.test('async', t => { const out = [] const p = new Pack.Sync({ cwd: files, filter: filter }) p.on('data', c => out.push(c)) p.on('end', _ => check(out, t)) p.end('./') }) t.end() }) t.test('fs.open fails', t => { const poop = new Error('poop') t.teardown(mutateFS.fail('open', poop)) t.test('async', t => { t.plan(1) const p = new Pack({ cwd: files }) .on('error', er => t.equal(er, poop)) .end('one-byte.txt') }) t.test('sync', t => { t.plan(1) t.throws(_ => new Pack.Sync({ cwd: files }).end('one-byte.txt'), poop) }) t.end() }) const write = opts => new Promise((resolve, reject) => { const p = new Pack() let totalSize = 0 p.on('data', d => totalSize += d.length) p.once('error', reject) p.once('end', () => resolve(totalSize)) const file1 = new ReadEntry(new Header({ path: 'file1.txt', size: 5, })) if (opts.before) { file1.end('file1') p.add(file1) } else { p.add(file1) file1.end('file1') } p.end() }) t.test('padding works regardless of arite/add order', t => Promise.all([ write({ before: true }), write({ before: false }) ]).then(res => t.is(res[0], res[1], 'length is the same regardless of write/add order'))) t.test('prefix and subdirs', t => { const dir = path.resolve(fixtures, 'pack-prefix-subdirs') t.teardown(_ => rimraf.sync(dir)) mkdirp.sync(dir + '/in/a/b/c') fs.writeFileSync(dir + '/in/a/b/c/d', 'ddd') fs.writeFileSync(dir + '/in/a/b/d', 'ddd') fs.writeFileSync(dir + '/in/a/d', 'ddd') fs.writeFileSync(dir + '/in/d', 'ddd') const expect = [ 'out/x/\0', 'out/x/a/\0', 'out/x/d\0', 'ddd\0', 'out/x/a/b/\0', 'out/x/a/d\0', 'ddd\0', 'out/x/a/b/c/\0', 'out/x/a/b/d\0', 'ddd\0', 'out/x/a/b/c/d\0', 'ddd\0', '\0', '\0' ] const check = (out, t) => { const data = Buffer.concat(out) expect.forEach((e, i) => t.equal(e, data.slice(i * 512, i * 512 + e.length).toString())) t.end() } const runTest = (t, path, Class) => { const p = new Class({ cwd: dir + '/in', prefix: 'out/x' }) const out = [] p.on('data', d => out.push(d)) p.on('end', _ => check(out, t)) p.end(path) } t.test('async', t => { t.test('.', t => runTest(t, '.', Pack)) return t.test('./', t => runTest(t, './', Pack)) }) return t.test('sync', t => { t.test('.', t => runTest(t, '.', Pack.Sync)) return t.test('./', t => runTest(t, './', Pack.Sync)) }) }) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/parse.js000066400000000000000000000330401333044642000156640ustar00rootroot00000000000000'use strict' const t = require('tap') const Parse = require('../lib/parse.js') const makeTar = require('./make-tar.js') const fs = require('fs') const path = require('path') const tardir = path.resolve(__dirname, 'fixtures/tars') const zlib = require('zlib') const MiniPass = require('minipass') const Header = require('../lib/header.js') const EE = require('events').EventEmitter t.test('fixture tests', t => { class ByteStream extends MiniPass { write (chunk) { for (let i = 0; i < chunk.length - 1; i++) { super.write(chunk.slice(i, i + 1)) } return super.write(chunk.slice(chunk.length - 1, chunk.length)) } } const trackEvents = (t, expect, p, slow) => { let ok = true let cursor = 0 p.on('entry', entry => { ok = ok && t.match(['entry', entry], expect[cursor++], entry.path) if (slow) setTimeout(_ => entry.resume()) else entry.resume() }) p.on('ignoredEntry', entry => { ok = ok && t.match(['ignoredEntry', entry], expect[cursor++], 'ignored: ' + entry.path) }) p.on('warn', (message, data) => { ok = ok && t.match(['warn', message], expect[cursor++], 'warn') }) p.on('nullBlock', _ => { ok = ok && t.match(['nullBlock'], expect[cursor++], 'null') }) p.on('error', er => { ok = ok && t.match(['error', er], expect[cursor++], 'error') }) p.on('meta', meta => { ok = ok && t.match(['meta', meta], expect[cursor++], 'meta') }) p.on('end', _ => { ok = ok && t.match(['end'], expect[cursor++], 'end') t.end() }) } t.jobs = 4 const path = require('path') const tardir = path.resolve(__dirname, 'fixtures/tars') const parsedir = path.resolve(__dirname, 'fixtures/parse') const files = fs.readdirSync(tardir) const maxMetaOpt = [250, null] const filterOpt = [ true, false ] const strictOpt = [ true, false ] const runTest = (file, maxMeta, filter, strict) => { const tardata = fs.readFileSync(file) const base = path.basename(file, '.tar') t.test('file=' + base + '.tar' + ' maxmeta=' + maxMeta + ' filter=' + filter + ' strict=' + strict, t => { const o = (maxMeta ? '-meta-' + maxMeta : '') + (filter ? '-filter' : '') + (strict ? '-strict' : '') const tail = (o ? '-' + o : '') + '.json' const eventsFile = parsedir + '/' + base + tail const expect = require(eventsFile) t.test('one byte at a time', t => { const bs = new ByteStream const opt = (maxMeta || filter || strict) ? { maxMetaEntrySize: maxMeta, filter: filter ? (path, entry) => entry.size % 2 !== 0 : null, strict: strict } : null const bp = new Parse(opt) trackEvents(t, expect, bp) bs.pipe(bp) bs.end(tardata) }) t.test('all at once', t => { const p = new Parse({ maxMetaEntrySize: maxMeta, filter: filter ? (path, entry) => entry.size % 2 !== 0 : null, strict: strict }) trackEvents(t, expect, p) p.end(tardata) }) t.test('gzipped all at once', t => { const p = new Parse({ maxMetaEntrySize: maxMeta, filter: filter ? (path, entry) => entry.size % 2 !== 0 : null, strict: strict }) trackEvents(t, expect, p) p.end(zlib.gzipSync(tardata)) }) t.test('gzipped byte at a time', t => { const bs = new ByteStream const gz = new zlib.Gzip() const bp = new Parse({ maxMetaEntrySize: maxMeta, filter: filter ? (path, entry) => entry.size % 2 !== 0 : null, strict: strict }) trackEvents(t, expect, bp) bs.pipe(bp) bs.end(zlib.gzipSync(tardata)) }) t.test('async chunks', t => { const p = new Parse({ maxMetaEntrySize: maxMeta, filter: filter ? (path, entry) => entry.size % 2 !== 0 : null, strict: strict }) trackEvents(t, expect, p, true) p.write(tardata.slice(0, Math.floor(tardata.length/2))) process.nextTick(_ => p.end(tardata.slice(Math.floor(tardata.length/2)))) }) t.end() }) } files .map(f => path.resolve(tardir, f)).forEach(file => maxMetaOpt.forEach(maxMeta => strictOpt.forEach(strict => filterOpt.forEach(filter => runTest(file, maxMeta, filter, strict))))) t.end() }) t.test('strict warn with an error emits that error', t => { const p = new Parse({ strict: true }) const er = new Error('yolo') p.on('error', emitted => { t.equal(emitted, er) t.end() }) p.warn(er.message, er) }) t.test('onwarn gets added to the warn event', t => { t.plan(1) const p = new Parse({ onwarn: message => t.equal(message, 'this is fine') }) p.warn('this is fine') }) t.test('onentry gets added to entry event', t => { t.plan(1) const p = new Parse({ onentry: entry => t.equal(entry, 'yes hello this is dog') }) p.emit('entry', 'yes hello this is dog') }) t.test('drain event timings', t => { // write 1 header and body, write 2 header, verify false return // wait for drain event before continuing. // write 2 body, 3 header and body, 4 header, verify false return // wait for drain event // write 4 body and null blocks const data = [ [ { path: 'one', size: 513, type: 'File' }, new Array(513).join('1'), '1', { path: 'two', size: 513, type: 'File' }, new Array(513).join('2'), '2', { path: 'three', size: 1024, type: 'File' } ], [ new Array(513).join('3'), new Array(513).join('3'), { path: 'four', size: 513, type: 'File' } ], [ new Array(513).join('4'), '4', { path: 'five', size: 1024, type: 'File' }, new Array(513).join('5'), new Array(513).join('5'), { path: 'six', size: 1024, type: 'File' }, new Array(513).join('6'), new Array(513).join('6'), { path: 'seven', size: 1024, type: 'File' }, new Array(513).join('7'), new Array(513).join('7'), { path: 'eight', size: 1024, type: 'File' }, new Array(513).join('8'), new Array(513).join('8'), { path: 'four', size: 513, type: 'File' }, new Array(513).join('4'), '4', { path: 'five', size: 1024, type: 'File' }, new Array(513).join('5'), new Array(513).join('5'), { path: 'six', size: 1024, type: 'File' }, new Array(513).join('6'), new Array(513).join('6'), { path: 'seven', size: 1024, type: 'File' }, new Array(513).join('7'), new Array(513).join('7'), { path: 'eight', size: 1024, type: 'File' }, new Array(513).join('8') ], [ new Array(513).join('8'), { path: 'nine', size: 1537, type: 'File' }, new Array(513).join('9') ], [ new Array(513).join('9') ], [ new Array(513).join('9') ], [ '9' ] ].map(chunks => makeTar(chunks)) const expect = [ 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'four', 'five', 'six', 'seven', 'eight', 'nine' ] class SlowStream extends EE { write () { setTimeout(_ => this.emit('drain')) return false } end () { return this.write() } } let currentEntry let autoPipe = true const p = new Parse({ onentry: entry => { t.equal(entry.path, expect.shift()) currentEntry = entry if (autoPipe) setTimeout(_=> entry.pipe(new SlowStream())) } }) data.forEach(d => { if (!t.equal(p.write(d), false, 'write should return false')) return t.end() }) let interval const go = _ => { const d = data.shift() if (d === undefined) return p.end() let paused if (currentEntry) { currentEntry.pause() paused = true } const hunklen = Math.floor(d.length / 2) const hunks = [ d.slice(0, hunklen), d.slice(hunklen) ] p.write(hunks[0]) if (currentEntry && !paused) { console.error('has current entry') currentEntry.pause() paused = true } if (!t.equal(p.write(hunks[1]), false, 'write should return false: ' + d)) return t.end() p.once('drain', go) if (paused) currentEntry.resume() } p.once('drain', go) p.on('end', _ => { clearInterval(interval) t.end() }) go() }) t.test('consume while consuming', t => { const data = makeTar([ { path: 'one', size: 0, type: 'File' }, { path: 'zero', size: 0, type: 'File' }, { path: 'two', size: 513, type: 'File' }, new Array(513).join('2'), '2', { path: 'three', size: 1024, type: 'File' }, new Array(513).join('3'), new Array(513).join('3'), { path: 'zero', size: 0, type: 'File' }, { path: 'zero', size: 0, type: 'File' }, { path: 'four', size: 1024, type: 'File' }, new Array(513).join('4'), new Array(513).join('4'), { path: 'zero', size: 0, type: 'File' }, { path: 'zero', size: 0, type: 'File' }, ]) const runTest = (t, size) => { const p = new Parse() const first = data.slice(0, size) const rest = data.slice(size) p.once('entry', entry => { for (let pos = 0; pos < rest.length; pos += size) { p.write(rest.slice(pos, pos + size)) } p.end() }) .on('entry', entry => entry.resume()) .on('end', _ => t.end()) .write(first) } // one that aligns, and another that doesn't, so that we // get some cases where there's leftover chunk and a buffer t.test('size=1000', t => runTest(t, 1000)) t.test('size=1024', t => runTest(t, 4096)) t.end() }) t.test('truncated input', t => { const data = makeTar([ { path: 'foo/', type: 'Directory' }, { path: 'foo/bar', type: 'File', size: 18 } ]) t.test('truncated at block boundary', t => { const warnings = [] const p = new Parse({ onwarn: message => warnings.push(message) }) p.end(data) t.same(warnings, [ 'Truncated input (needed 512 more bytes, only 0 available)' ]) t.end() }) t.test('truncated mid-block', t => { const warnings = [] const p = new Parse({ onwarn: message => warnings.push(message) }) p.write(data) p.end(Buffer.from('not a full block')) t.same(warnings, [ 'Truncated input (needed 512 more bytes, only 16 available)' ]) t.end() }) t.end() }) t.test('truncated gzip input', t => { const raw = makeTar([ { path: 'foo/', type: 'Directory' }, { path: 'foo/bar', type: 'File', size: 18 }, new Array(19).join('x'), '', '' ]) const tgz = zlib.gzipSync(raw) const split = Math.floor(tgz.length * 2 / 3) const trunc = tgz.slice(0, split) const skipEarlyEnd = process.version.match(/^v4\./) t.test('early end', { skip: skipEarlyEnd ? 'not a zlib error on v4' : false }, t => { const warnings = [] const p = new Parse() p.on('error', er => warnings.push(er.message)) let aborted = false p.on('abort', _ => aborted = true) p.end(trunc) t.equal(aborted, true, 'aborted writing') t.same(warnings, [ 'zlib: unexpected end of file' ]) t.end() }) t.test('just wrong', t => { const warnings = [] const p = new Parse() p.on('error', er => warnings.push(er.message)) let aborted = false p.on('abort', _ => aborted = true) p.write(trunc) p.write(trunc) p.write(tgz.slice(split)) p.end() t.equal(aborted, true, 'aborted writing') t.same(warnings, [ 'zlib: incorrect data check' ]) t.end() }) t.end() }) t.test('end while consuming', t => { // https://github.com/npm/node-tar/issues/157 const data = zlib.gzipSync(makeTar([ { path: 'package/package.json', type: 'File', size: 130 }, new Array(131).join('x'), { path: 'package/node_modules/@c/d/node_modules/e/package.json', type: 'File', size: 30 }, new Array(31).join('e'), { path: 'package/node_modules/@c/d/package.json', type: 'File', size: 33 }, new Array(34).join('d'), { path: 'package/node_modules/a/package.json', type: 'File', size: 59 }, new Array(60).join('a'), { path: 'package/node_modules/b/package.json', type: 'File', size: 30 }, new Array(31).join('b'), '', '' ])) const actual = [] const expect = [ 'package/package.json', 'package/node_modules/@c/d/node_modules/e/package.json', 'package/node_modules/@c/d/package.json', 'package/node_modules/a/package.json', 'package/node_modules/b/package.json' ] const mp = new MiniPass() const p = new Parse({ onentry: entry => { actual.push(entry.path) entry.resume() }, onwarn: er => t.fail(er), onerror: er => t.threw(er) }) p.on('end', () => { t.same(actual, expect) t.end() }) mp.end(data) mp.pipe(p) }) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/pax.js000066400000000000000000000205441333044642000153470ustar00rootroot00000000000000'use strict' const t = require('tap') const Pax = require('../lib/pax.js') t.test('create a pax', t => { const p = new Pax({ atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('1979-07-01T19:10:00.000Z'), mtime: new Date('1979-07-01T19:10:00.000Z'), gid: 20, gname: 'staff', uid: 24561, uname: 'isaacs', path: 'foo.txt', size: 100, dev: 123456, ino: 7890, nlink: 1, }) // console.log(p.encode().toString('hex').split('').reduce((s,c)=>{if(s[s.length-1].length<64)s[s.length-1]+=c;else s.push(c);return s},[''])) const buf = Buffer.from( // pax entry header '5061784865616465722f666f6f2e747874000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000030303036343420003035373736312000303030303234200030303030' + '3030303330342000323136373231373631302000303136373332200078000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0075737461720030306973616163730000000000000000000000000000000000' + '0000000000000000007374616666000000000000000000000000000000000000' + '0000000000000000003030303030302000303030303030200000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000032313637' + '3231373631302000323136373231373631302000000000000000000000000000' + // entry body '313620706174683d666f6f2e7478740a3139206374696d653d32393937303432' + '30300a3139206174696d653d3239393730343230300a323120534348494c592e' + '6465763d3132333435360a313920534348494c592e696e6f3d373839300a3138' + '20534348494c592e6e6c696e6b3d310a39206769643d32300a313520676e616d' + '653d73746166660a3139206d74696d653d3239393730343230300a3132207369' + '7a653d3130300a3133207569643d32343536310a313620756e616d653d697361' + '6163730a00000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000', 'hex') const actual = p.encode() t.equal(actual.toString('hex'), buf.toString('hex')) t.end() }) t.test('null pax', t => { const p = new Pax({}) t.equal(p.encode(), null) t.end() }) t.test('tiny pax', t => { // weird to have a global setting a path. Maybe this should be // an error? const p = new Pax({path: 'ab'}, true) const actual = p.encode() // console.log(actual.toString('hex').split('').reduce((s,c)=>{if(s[s.length-1].length<64)s[s.length-1]+=c;else s.push(c);return s},[''])) // return Promise.resolve() const buf = Buffer.from( // header '5061784865616465722f61620000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000030303036343420000000000000000000000000000000000030303030' + '3030303031332000000000000000000000000000303037303534200067000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0075737461720030300000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000003030303030302000303030303030200000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + // body // note that a 2-char path is 11, but a 1 char path is 9, because // adding the second char bumps the n to 10, which adds 1, which // means it has to be 11. // a 1-char path COULD be encoded as EITHER "10 path=x\n", or as // "9 path=x\n", and it'd be true either way. '313120706174683d61620a000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000', 'hex') t.equal(actual.toString('hex'), buf.toString('hex')) t.end() }) t.test('parse', t => { t.same(Pax.parse('11 path=ab\n', { uid: 24561 }, true), { atime: null, charset: null, comment: null, ctime: null, gid: null, gname: null, linkpath: null, mtime: null, path: 'ab', size: null, uid: 24561, uname: null, dev: null, ino: null, nlink: null, global: true }) t.same(Pax.parse('11 path=ab\n', null, false), { atime: null, charset: null, comment: null, ctime: null, gid: null, gname: null, linkpath: null, mtime: null, path: 'ab', size: null, uid: null, uname: null, dev: null, ino: null, nlink: null, global: false }) t.same(Pax.parse('9 gid=20\n9 path=x\n', null, false), { atime: null, charset: null, comment: null, ctime: null, gid: 20, gname: null, linkpath: null, mtime: null, path: 'x', size: null, uid: null, uname: null, dev: null, ino: null, nlink: null, global: false }) t.same(Pax.parse('9 gid=20\n9 path=x\n', null, false), { atime: null, charset: null, comment: null, ctime: null, gid: 20, gname: null, linkpath: null, mtime: null, path: 'x', size: null, uid: null, uname: null, dev: null, ino: null, nlink: null, global: false }) t.same(Pax.parse('20 mtime=1491436800\n', null, false), { atime: null, charset: null, comment: null, ctime: null, gid: null, gname: null, linkpath: null, mtime: new Date('2017-04-06'), path: null, size: null, uid: null, uname: null, dev: null, ino: null, nlink: null, global: false }) const breaky = '93 NODETAR.package.readme=karma-moment\n' + '=================\n' + '\n' + 'Karma plugin for Moment framework\n' + '\n' const noKey = '10 =pathx\n' t.same(Pax.parse(breaky + '9 gid=20\n10 path=x\n'+noKey, null, false), { atime: null, charset: null, comment: null, ctime: null, gid: 20, gname: null, linkpath: null, mtime: null, path: 'x', size: null, uid: null, uname: null, dev: null, ino: null, nlink: null, global: false }) t.end() }) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/read-entry.js000066400000000000000000000120141333044642000166220ustar00rootroot00000000000000'use strict' const Buffer = require('../lib/buffer.js') const t = require('tap') const ReadEntry = require('../lib/read-entry.js') const Header = require('../lib/header.js') t.test('create read entry', t => { const h = new Header({ path: 'foo.txt', mode: 0o755, uid: 24561, gid: 20, size: 100, mtime: new Date('2016-04-01T22:00Z'), ctime: new Date('2016-04-01T22:00Z'), atime: new Date('2016-04-01T22:00Z'), type: 'File', uname: 'isaacs', gname: 'staff' }) h.encode() const entry = new ReadEntry(h, { x: 'y' }, { z: 0, a: null, b: undefined }) t.ok(entry.header.cksumValid, 'header checksum should be valid') t.match(entry, { extended: { x: 'y' }, globalExtended: { z: 0, a: null, b: undefined }, header: { cksumValid: true, needPax: false, path: 'foo.txt', mode: 0o755, uid: 24561, gid: 20, size: 100, mtime: new Date('2016-04-01T22:00:00.000Z'), typeKey: '0', type: 'File', linkpath: null, uname: 'isaacs', gname: 'staff', devmaj: 0, devmin: 0, atime: new Date('2016-04-01T22:00:00.000Z'), ctime: new Date('2016-04-01T22:00:00.000Z') }, blockRemain: 512, remain: 100, type: 'File', meta: false, ignore: false, path: 'foo.txt', mode: 0o755, uid: 24561, gid: 20, uname: 'isaacs', gname: 'staff', size: 100, mtime: new Date('2016-04-01T22:00:00.000Z'), atime: new Date('2016-04-01T22:00:00.000Z'), ctime: new Date('2016-04-01T22:00:00.000Z'), linkpath: null, x: 'y', z: 0 }) let data = '' let ended = false entry.on('data', c => data += c) entry.on('end', _ => ended = true) const body = Buffer.alloc(512) body.write(new Array(101).join('z'), 0) entry.write(body) entry.end() t.equal(data, new Array(101).join('z')) t.ok(ended, 'saw end event') t.end() }) t.test('meta entry', t => { const h = new Header({ path: 'PaxHeader/foo.txt', mode: 0o755, uid: 24561, gid: 20, size: 23, mtime: new Date('2016-04-01T22:00Z'), ctime: new Date('2016-04-01T22:00Z'), atime: new Date('2016-04-01T22:00Z'), type: 'NextFileHasLongLinkpath', uname: 'isaacs', gname: 'staff' }) const body = Buffer.alloc(512) body.write('not that long, actually') const expect = 'not that long, actually' let actual = '' const entry = new ReadEntry(h) entry.on('data', c => actual += c) entry.write(body.slice(0, 1)) entry.write(body.slice(1, 25)) entry.write(body.slice(25)) t.throws(_=> entry.write(Buffer.alloc(1024))) t.equal(actual, expect) t.like(entry, { meta: true, type: 'NextFileHasLongLinkpath' }) t.end() }) t.test('unknown entry type', t => { const h = new Header({ path: 'PaxHeader/foo.txt', mode: 0o755, uid: 24561, gid: 20, size: 23, mtime: new Date('2016-04-01T22:00Z'), ctime: new Date('2016-04-01T22:00Z'), atime: new Date('2016-04-01T22:00Z'), uname: 'isaacs', gname: 'staff' }) h.encode() h.block.write('9', 156, 1, 'ascii') const body = Buffer.alloc(512) body.write('not that long, actually') const expect = '' let actual = '' const entry = new ReadEntry(new Header(h.block)) entry.on('data', c => actual += c) entry.write(body.slice(0, 1)) entry.write(body.slice(1, 25)) entry.write(body.slice(25)) t.throws(_=> entry.write(Buffer.alloc(1024))) t.equal(actual, expect) t.like(entry, { ignore: true }) t.end() }) t.test('entry without mode', t => { const h = new Header({ path: 'foo.txt', uid: 24561, gid: 20, size: 100, mtime: new Date('2016-04-01T22:00Z'), ctime: new Date('2016-04-01T22:00Z'), atime: new Date('2016-04-01T22:00Z'), type: 'File', uname: 'isaacs', gname: 'staff' }) h.encode() const entry = new ReadEntry(h) t.ok(entry.header.cksumValid, 'header checksum should be valid') t.match(entry, { header: { cksumValid: true, needPax: false, path: 'foo.txt', mode: null, uid: 24561, gid: 20, size: 100, mtime: new Date('2016-04-01T22:00:00.000Z'), typeKey: '0', type: 'File', linkpath: null, uname: 'isaacs', gname: 'staff', devmaj: 0, devmin: 0, atime: new Date('2016-04-01T22:00:00.000Z'), ctime: new Date('2016-04-01T22:00:00.000Z') }, blockRemain: 512, remain: 100, type: 'File', meta: false, ignore: false, path: 'foo.txt', mode: null, uid: 24561, gid: 20, uname: 'isaacs', gname: 'staff', size: 100, mtime: new Date('2016-04-01T22:00:00.000Z'), atime: new Date('2016-04-01T22:00:00.000Z'), ctime: new Date('2016-04-01T22:00:00.000Z'), linkpath: null }) let data = '' let ended = false entry.on('data', c => data += c) entry.on('end', _ => ended = true) const body = Buffer.alloc(512) body.write(new Array(101).join('z'), 0) entry.write(body) entry.end() t.equal(data, new Array(101).join('z')) t.ok(ended, 'saw end event') t.end() }) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/replace.js000066400000000000000000000175421333044642000161760ustar00rootroot00000000000000'use strict' const Buffer = require('../lib/buffer.js') const t = require('tap') const r = require('../lib/replace.js') const path = require('path') const fs = require('fs') const mkdirp = require('mkdirp') const rimraf = require('rimraf') const mutateFS = require('mutate-fs') const list = require('../lib/list.js') const fixtures = path.resolve(__dirname, 'fixtures') const dir = path.resolve(fixtures, 'replace') const tars = path.resolve(fixtures, 'tars') const file = dir + '/body-byte-counts.tar' const fileNoNulls = dir + '/no-null-eof.tar' const fileTruncHead = dir + '/truncated-head.tar' const fileTruncBody = dir + '/truncated-body.tar' const fileNonExistent = dir + '/does-not-exist.tar' const fileZeroByte = dir + '/zero.tar' const fileEmpty = dir + '/empty.tar' const fileCompressed = dir + '/compressed.tgz' const zlib = require('zlib') const spawn = require('child_process').spawn t.teardown(_ => rimraf.sync(dir)) const reset = cb => { rimraf.sync(dir) mkdirp.sync(dir) const data = fs.readFileSync(tars + '/body-byte-counts.tar') fs.writeFileSync(file, data) const dataNoNulls = data.slice(0, data.length - 1024) fs.writeFileSync(fileNoNulls, dataNoNulls) const dataTruncHead = Buffer.concat([dataNoNulls, data.slice(0, 500)]) fs.writeFileSync(fileTruncHead, dataTruncHead) const dataTruncBody = Buffer.concat([dataNoNulls, data.slice(0, 700)]) fs.writeFileSync(fileTruncBody, dataTruncBody) fs.writeFileSync(fileZeroByte, '') fs.writeFileSync(fileEmpty, Buffer.alloc(1024)) fs.writeFileSync(fileCompressed, zlib.gzipSync(data)) if (cb) cb() } t.test('setup', t => { reset(t.end) }) t.test('basic file add to archive (good or truncated)', t => { t.beforeEach(reset) const check = (file, t) => { const c = spawn('tar', ['tf', file], { stdio: [ 0, 'pipe', 2 ] }) const out = [] c.stdout.on('data', chunk => out.push(chunk)) c.on('close', (code, signal) => { t.equal(code, 0) t.equal(signal, null) const actual = Buffer.concat(out).toString().trim().split('\n') t.same(actual, [ '1024-bytes.txt', '512-bytes.txt', 'one-byte.txt', 'zero-byte.txt', path.basename(__filename) ]) t.end() }) } ;[file, fileNoNulls, fileTruncHead, fileTruncBody ].forEach(file => { const fileList = [ path.basename(__filename) ] t.test(path.basename(file), t => { t.test('sync', t => { r({ sync: true, file: file, cwd: __dirname }, fileList) check(file, t) }) t.test('async cb', t => { r({ file: file, cwd: __dirname }, fileList, er => { if (er) throw er check(file, t) }) }) t.test('async promise', t => { r({ file: file, cwd: __dirname }, fileList).then(_ => check(file, t)) }) t.end() }) }) t.end() }) t.test('add to empty archive', t => { t.beforeEach(reset) const check = (file, t) => { const c = spawn('tar', ['tf', file]) const out = [] c.stdout.on('data', chunk => out.push(chunk)) c.on('close', (code, signal) => { t.equal(code, 0) t.equal(signal, null) const actual = Buffer.concat(out).toString().trim().split('\n') t.same(actual, [ path.basename(__filename) ]) t.end() }) } ;[fileNonExistent, fileEmpty, fileZeroByte ].forEach(file => { t.test(path.basename(file), t => { t.test('sync', t => { r({ sync: true, file: file, cwd: __dirname }, [path.basename(__filename)]) check(file, t) }) t.test('async cb', t => { r({ file: file, cwd: __dirname }, [path.basename(__filename)], er => { if (er) throw er check(file, t) }) }) t.test('async promise', t => { r({ file: file, cwd: __dirname }, [path.basename(__filename)]).then(_ => check(file, t)) }) t.end() }) }) t.end() }) t.test('cannot append to gzipped archives', t => { reset() const expect = new Error('cannot append to compressed archives') const expectT = new TypeError('cannot append to compressed archives') t.throws(_ => r({ file: fileCompressed, cwd: __dirname, gzip: true }, [path.basename(__filename)]), expectT) t.throws(_ => r({ file: fileCompressed, cwd: __dirname, sync: true }, [path.basename(__filename)]), expect) r({ file: fileCompressed, cwd: __dirname, }, [path.basename(__filename)], er => { t.match(er, expect) t.end() }) }) t.test('other throws', t => { t.throws(_ => r({}, ['asdf']), new TypeError('file is required')) t.throws(_ => r({file: 'asdf'}, []), new TypeError('no files or directories specified')) t.end() }) t.test('broken open', t => { const poop = new Error('poop') t.teardown(mutateFS.fail('open', poop)) t.throws(_ => r({ sync: true, file: file }, ['README.md']), poop) r({ file: file }, ['README.md'], er => { t.match(er, poop) t.end() }) }) t.test('broken fstat', t => { const poop = new Error('poop') t.teardown(mutateFS.fail('fstat', poop)) t.throws(_ => r({ sync: true, file: file }, ['README.md']), poop) r({ file: file }, ['README.md'], er => { t.match(er, poop) t.end() }) }) t.test('broken read', t => { const poop = new Error('poop') t.teardown(mutateFS.fail('read', poop)) t.throws(_ => r({ sync: true, file: file }, ['README.md']), poop) r({ file: file }, ['README.md'], er => { t.match(er, poop) t.end() }) }) t.test('mtime cache', t => { t.beforeEach(reset) let mtimeCache const check = (file, t) => { const c = spawn('tar', ['tf', file]) const out = [] c.stdout.on('data', chunk => out.push(chunk)) c.on('close', (code, signal) => { t.equal(code, 0) t.equal(signal, null) const actual = Buffer.concat(out).toString().trim().split('\n') t.same(actual, [ '1024-bytes.txt', '512-bytes.txt', 'one-byte.txt', 'zero-byte.txt', path.basename(__filename) ]) const mtc = {} mtimeCache.forEach((v, k) => mtc[k] = mtimeCache.get(k).toISOString()) t.same(mtc, { '1024-bytes.txt': '2017-04-10T16:57:47.000Z', '512-bytes.txt': '2017-04-10T17:08:55.000Z', 'one-byte.txt': '2017-04-10T16:58:20.000Z', 'zero-byte.txt': '2017-04-10T17:08:01.000Z' }) t.end() }) } t.test('sync', t => { r({ sync: true, file: file, cwd: __dirname, mtimeCache: mtimeCache = new Map() }, [path.basename(__filename)]) check(file, t) }) t.test('async cb', t => { r({ file: file, cwd: __dirname, mtimeCache: mtimeCache = new Map() }, [path.basename(__filename)], er => { if (er) throw er check(file, t) }) }) t.test('async promise', t => { r({ file: file, cwd: __dirname, mtimeCache: mtimeCache = new Map() }, [path.basename(__filename)]).then(_ => check(file, t)) }) t.end() }) t.test('create tarball out of another tarball', t => { const out = path.resolve(dir, 'out.tar') t.beforeEach(cb => { fs.writeFile(out, fs.readFileSync(path.resolve(tars, 'dir.tar')), cb) }) const check = t => { const expect = [ 'dir/', 'Ω.txt', '🌟.txt', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt' ] list({ f: out, sync: true, onentry: entry => { t.equal(entry.path, expect.shift()) }}) t.same(expect, []) t.end() } t.test('sync', t => { r({ f: out, cwd: tars, sync: true }, ['@utf8.tar']) check(t) }) t.test('async', t => { r({ f: out, cwd: tars }, ['@utf8.tar'], _ => check(t)) }) t.end() }) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/types.js000066400000000000000000000003001333044642000157070ustar00rootroot00000000000000'use strict' // not much to test here, just 2 maps. const t = require('tap') const types = require('../lib/types.js') t.equal(types.name.get('0'), 'File') t.equal(types.code.get('File'), '0') c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/unpack.js000066400000000000000000001646011333044642000160430ustar00rootroot00000000000000'use strict' process.umask(0o022) const Unpack = require('../lib/unpack.js') const UnpackSync = Unpack.Sync const t = require('tap') const MiniPass = require('minipass') const makeTar = require('./make-tar.js') const Header = require('../lib/header.js') const z = require('minizlib') const fs = require('fs') const path = require('path') const fixtures = path.resolve(__dirname, 'fixtures') const files = path.resolve(fixtures, 'files') const tars = path.resolve(fixtures, 'tars') const parses = path.resolve(fixtures, 'parse') const unpackdir = path.resolve(fixtures, 'unpack') const rimraf = require('rimraf') const mkdirp = require('mkdirp') const mutateFS = require('mutate-fs') const eos = require('end-of-stream') t.teardown(_ => rimraf.sync(unpackdir)) t.test('setup', t => { rimraf.sync(unpackdir) mkdirp.sync(unpackdir) t.end() }) t.test('basic file unpack tests', t => { const basedir = path.resolve(unpackdir, 'basic') t.teardown(_ => rimraf.sync(basedir)) const cases = { 'emptypax.tar': { '🌟.txt': '🌟✧✩⭐︎✪✫✬✭✮⚝✯✰✵✶✷✸✹❂⭑⭒★☆✡☪✴︎✦✡️🔯✴️🌠\n', 'one-byte.txt': 'a' }, 'body-byte-counts.tar': { '1024-bytes.txt': new Array(1024).join('x') + '\n', '512-bytes.txt': new Array(512).join('x') + '\n', 'one-byte.txt': 'a', 'zero-byte.txt': '' }, 'utf8.tar': { '🌟.txt': '🌟✧✩⭐︎✪✫✬✭✮⚝✯✰✵✶✷✸✹❂⭑⭒★☆✡☪✴︎✦✡️🔯✴️🌠\n', 'Ω.txt': 'Ω', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt': 'Ω' }, 'file.tar': { 'one-byte.txt': 'a' }, 'global-header.tar': { 'one-byte.txt': 'a' }, 'long-pax.tar': { '120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc': 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' }, 'long-paths.tar': { '100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc': 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', '120-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc': 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', '170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc': 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt': 'short\n', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc': 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc': 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc': 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt': 'Ω' } } const tarfiles = Object.keys(cases) t.plan(tarfiles.length) t.jobs = tarfiles.length tarfiles.forEach(tarfile => { t.test(tarfile, t => { const tf = path.resolve(tars, tarfile) const dir = path.resolve(basedir, tarfile) t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir) cb() }) const check = t => { const expect = cases[tarfile] Object.keys(expect).forEach(file => { const f = path.resolve(dir, file) t.equal(fs.readFileSync(f, 'utf8'), expect[file], file) }) t.end() } t.plan(2) t.test('async unpack', t => { t.plan(2) t.test('strict', t => { const unpack = new Unpack({ cwd: dir, strict: true }) fs.createReadStream(tf).pipe(unpack) eos(unpack, _ => check(t)) }) t.test('loose', t => { const unpack = new Unpack({ cwd: dir }) fs.createReadStream(tf).pipe(unpack) eos(unpack, _ => check(t)) }) }) t.test('sync unpack', t => { t.plan(2) t.test('strict', t => { const unpack = new UnpackSync({ cwd: dir }) unpack.end(fs.readFileSync(tf)) check(t) }) t.test('loose', t => { const unpack = new UnpackSync({ cwd: dir }) unpack.end(fs.readFileSync(tf)) check(t) }) }) }) }) }) t.test('cwd default to process cwd', t => { const u = new Unpack() const us = new UnpackSync() const cwd = process.cwd() t.equal(u.cwd, cwd) t.equal(us.cwd, cwd) t.end() }) t.test('links!', t => { const dir = path.resolve(unpackdir, 'links') const data = fs.readFileSync(tars + '/links.tar') t.plan(2) t.beforeEach(cb => mkdirp(dir, cb)) t.afterEach(cb => rimraf(dir, cb)) const check = t => { const hl1 = fs.lstatSync(dir + '/hardlink-1') const hl2 = fs.lstatSync(dir + '/hardlink-2') t.equal(hl1.dev, hl2.dev) t.equal(hl1.ino, hl2.ino) t.equal(hl1.nlink, 2) t.equal(hl2.nlink, 2) const sym = fs.lstatSync(dir + '/symlink') t.ok(sym.isSymbolicLink()) t.equal(fs.readlinkSync(dir + '/symlink'), 'hardlink-2') t.end() } t.test('async', t => { const unpack = new Unpack({ cwd: dir }) let finished = false unpack.on('finish', _ => finished = true) unpack.on('close', _ => t.ok(finished, 'emitted finish before close')) unpack.on('close', _ => check(t)) unpack.end(data) }) t.test('sync', t => { const unpack = new UnpackSync({ cwd: dir }) unpack.end(data) check(t) }) }) t.test('links without cleanup (exercise clobbering code)', t => { const dir = path.resolve(unpackdir, 'links') const data = fs.readFileSync(tars + '/links.tar') t.plan(6) mkdirp.sync(dir) t.teardown(_ => rimraf.sync(dir)) t.beforeEach(cb => { // clobber this junk try { mkdirp.sync(dir + '/hardlink-1') mkdirp.sync(dir + '/hardlink-2') fs.writeFileSync(dir + '/symlink', 'not a symlink') } catch (er) {} cb() }) const check = t => { const hl1 = fs.lstatSync(dir + '/hardlink-1') const hl2 = fs.lstatSync(dir + '/hardlink-2') t.equal(hl1.dev, hl2.dev) t.equal(hl1.ino, hl2.ino) t.equal(hl1.nlink, 2) t.equal(hl2.nlink, 2) const sym = fs.lstatSync(dir + '/symlink') t.ok(sym.isSymbolicLink()) t.equal(fs.readlinkSync(dir + '/symlink'), 'hardlink-2') t.end() } t.test('async', t => { const unpack = new Unpack({ cwd: dir }) let prefinished = false unpack.on('prefinish', _ => prefinished = true) unpack.on('finish', _ => t.ok(prefinished, 'emitted prefinish before finish')) unpack.on('close', _ => check(t)) unpack.end(data) }) t.test('sync', t => { const unpack = new UnpackSync({ cwd: dir }) unpack.end(data) check(t) }) t.test('async again', t => { const unpack = new Unpack({ cwd: dir }) eos(unpack, _ => check(t)) unpack.end(data) }) t.test('sync again', t => { const unpack = new UnpackSync({ cwd: dir }) unpack.end(data) check(t) }) t.test('async unlink', t => { const unpack = new Unpack({ cwd: dir, unlink: true }) unpack.on('close', _ => check(t)) unpack.end(data) }) t.test('sync unlink', t => { const unpack = new UnpackSync({ cwd: dir, unlink: true }) unpack.end(data) check(t) }) }) t.test('nested dir dupe', t => { const dir = path.resolve(unpackdir, 'nested-dir') mkdirp.sync(dir + '/d/e/e/p') t.teardown(_ => rimraf.sync(dir)) const expect = { 'd/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/a.txt': 'short\n', 'd/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc': 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', 'd/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc': 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', 'd/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc': 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', 'd/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt': 'Ω' } const check = t => { const entries = fs.readdirSync(dir) t.equal(entries.length, 1) t.equal(entries[0], 'd') Object.keys(expect).forEach(f => { const file = dir + '/' + f t.equal(fs.readFileSync(file, 'utf8'), expect[f]) }) t.end() } const unpack = new Unpack({ cwd: dir, strip: 8 }) const data = fs.readFileSync(tars + '/long-paths.tar') // while we're at it, why not use gzip too? const zip = new z.Gzip() zip.pipe(unpack) unpack.on('close', _ => check(t)) zip.end(data) }) t.test('symlink in dir path', t => { const dir = path.resolve(unpackdir, 'symlink-junk') t.teardown(_ => rimraf.sync(dir)) t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir) cb() }) const data = makeTar([ { path: 'd/i', type: 'Directory' }, { path: 'd/i/r/dir', type: 'Directory', mode: 0o751, mtime: new Date('2011-03-27T22:16:31.000Z') }, { path: 'd/i/r/file', type: 'File', size: 1, atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z') }, 'a', { path: 'd/i/r/link', type: 'Link', linkpath: 'd/i/r/file', atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, { path: 'd/i/r/symlink', type: 'SymbolicLink', linkpath: './dir', atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, { path: 'd/i/r/symlink/x', type: 'File', size: 0, atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, '', '' ]) t.test('no clobbering', t => { const warnings = [] const u = new Unpack({ cwd: dir, onwarn: (w,d) => warnings.push([w,d]) }) u.on('close', _ => { t.equal(fs.lstatSync(dir + '/d/i').mode & 0o7777, 0o755) t.equal(fs.lstatSync(dir + '/d/i/r/dir').mode & 0o7777, 0o751) t.ok(fs.lstatSync(dir + '/d/i/r/file').isFile(), 'got file') t.ok(fs.lstatSync(dir + '/d/i/r/symlink').isSymbolicLink(), 'got symlink') t.throws(_ => fs.statSync(dir + '/d/i/r/symlink/x')) t.equal(warnings.length, 1) t.equal(warnings[0][0], 'Cannot extract through symbolic link') t.match(warnings[0][1], { name: 'SylinkError', path: dir + '/d/i/r/symlink/', symlink: dir + '/d/i/r/symlink' }) t.end() }) u.end(data) }) t.test('no clobbering, sync', t => { const warnings = [] const u = new UnpackSync({ cwd: dir, onwarn: (w,d) => warnings.push([w,d]) }) u.end(data) t.equal(fs.lstatSync(dir + '/d/i/r/dir').mode & 0o7777, 0o751) t.ok(fs.lstatSync(dir + '/d/i/r/file').isFile(), 'got file') t.ok(fs.lstatSync(dir + '/d/i/r/symlink').isSymbolicLink(), 'got symlink') t.throws(_ => fs.statSync(dir + '/d/i/r/symlink/x')) t.equal(warnings.length, 1) t.equal(warnings[0][0], 'Cannot extract through symbolic link') t.match(warnings[0][1], { name: 'SylinkError', path: dir + '/d/i/r/symlink/', symlink: dir + '/d/i/r/symlink' }) t.end() }) t.test('extract through symlink', t => { const warnings = [] const u = new Unpack({ cwd: dir, onwarn: (w,d) => warnings.push([w,d]), preservePaths: true }) u.on('close', _ => { t.same(warnings, []) t.equal(fs.lstatSync(dir + '/d/i/r/dir').mode & 0o7777, 0o751) t.ok(fs.lstatSync(dir + '/d/i/r/file').isFile(), 'got file') t.ok(fs.lstatSync(dir + '/d/i/r/symlink').isSymbolicLink(), 'got symlink') t.ok(fs.lstatSync(dir + '/d/i/r/dir/x').isFile(), 'x thru link') t.ok(fs.lstatSync(dir + '/d/i/r/symlink/x').isFile(), 'x thru link') t.end() }) u.end(data) }) t.test('extract through symlink sync', t => { const warnings = [] const u = new UnpackSync({ cwd: dir, onwarn: (w,d) => warnings.push([w,d]), preservePaths: true }) u.end(data) t.same(warnings, []) t.equal(fs.lstatSync(dir + '/d/i/r/dir').mode & 0o7777, 0o751) t.ok(fs.lstatSync(dir + '/d/i/r/file').isFile(), 'got file') t.ok(fs.lstatSync(dir + '/d/i/r/symlink').isSymbolicLink(), 'got symlink') t.ok(fs.lstatSync(dir + '/d/i/r/dir/x').isFile(), 'x thru link') t.ok(fs.lstatSync(dir + '/d/i/r/symlink/x').isFile(), 'x thru link') t.end() }) t.test('clobber through symlink', t => { const warnings = [] const u = new Unpack({ cwd: dir, onwarn: (w,d) => warnings.push([w,d]), unlink: true }) u.on('close', _ => { t.same(warnings, []) t.equal(fs.lstatSync(dir + '/d/i/r/dir').mode & 0o7777, 0o751) t.ok(fs.lstatSync(dir + '/d/i/r/file').isFile(), 'got file') t.notok(fs.lstatSync(dir + '/d/i/r/symlink').isSymbolicLink(), 'no link') t.ok(fs.lstatSync(dir + '/d/i/r/symlink').isDirectory(), 'sym is dir') t.ok(fs.lstatSync(dir + '/d/i/r/symlink/x').isFile(), 'x thru link') t.end() }) u.end(data) }) t.test('clobber through symlink with busted unlink', t => { const poop = new Error('poop') t.teardown(mutateFS.fail('unlink', poop)) const warnings = [] const u = new Unpack({ cwd: dir, onwarn: (w,d) => warnings.push([w,d]), unlink: true }) u.on('close', _ => { t.same(warnings, [[ 'poop', poop ]]) t.end() }) u.end(data) }) t.test('clobber through symlink sync', t => { const warnings = [] const u = new UnpackSync({ cwd: dir, onwarn: (w,d) => warnings.push([w,d]), unlink: true }) u.end(data) t.equal(fs.lstatSync(dir + '/d/i/r/dir').mode & 0o7777, 0o751) t.ok(fs.lstatSync(dir + '/d/i/r/file').isFile(), 'got file') t.notok(fs.lstatSync(dir + '/d/i/r/symlink').isSymbolicLink(), 'no link') t.ok(fs.lstatSync(dir + '/d/i/r/symlink').isDirectory(), 'sym is dir') t.ok(fs.lstatSync(dir + '/d/i/r/symlink/x').isFile(), 'x thru link') t.end() }) t.test('clobber dirs', t => { mkdirp.sync(dir + '/d/i/r/dir') mkdirp.sync(dir + '/d/i/r/file') mkdirp.sync(dir + '/d/i/r/link') mkdirp.sync(dir + '/d/i/r/symlink') const warnings = [] const u = new Unpack({ cwd: dir, onwarn: (w, d) => { warnings.push([w,d]) } }) u.on('close', _ => { t.equal(fs.lstatSync(dir + '/d/i/r/dir').mode & 0o7777, 0o751) t.ok(fs.lstatSync(dir + '/d/i/r/file').isFile(), 'got file') t.ok(fs.lstatSync(dir + '/d/i/r/symlink').isSymbolicLink(), 'got symlink') t.throws(_ => fs.statSync(dir + '/d/i/r/symlink/x')) t.equal(warnings.length, 1) t.equal(warnings[0][0], 'Cannot extract through symbolic link') t.match(warnings[0][1], { name: 'SylinkError', path: dir + '/d/i/r/symlink/', symlink: dir + '/d/i/r/symlink' }) t.end() }) u.end(data) }) t.test('clobber dirs sync', t => { mkdirp.sync(dir + '/d/i/r/dir') mkdirp.sync(dir + '/d/i/r/file') mkdirp.sync(dir + '/d/i/r/link') mkdirp.sync(dir + '/d/i/r/symlink') const warnings = [] const u = new UnpackSync({ cwd: dir, onwarn: (w, d) => { warnings.push([w,d]) } }) u.end(data) t.equal(fs.lstatSync(dir + '/d/i/r/dir').mode & 0o7777, 0o751) t.ok(fs.lstatSync(dir + '/d/i/r/file').isFile(), 'got file') t.ok(fs.lstatSync(dir + '/d/i/r/symlink').isSymbolicLink(), 'got symlink') t.throws(_ => fs.statSync(dir + '/d/i/r/symlink/x')) t.equal(warnings.length, 1) t.equal(warnings[0][0], 'Cannot extract through symbolic link') t.match(warnings[0][1], { name: 'SylinkError', path: dir + '/d/i/r/symlink/', symlink: dir + '/d/i/r/symlink' }) t.end() }) t.end() }) t.test('unsupported entries', t => { const dir = path.resolve(unpackdir, 'unsupported-entries') mkdirp.sync(dir) t.teardown(_ => rimraf.sync(dir)) const unknown = new Header({ path: 'qux', type: 'File', size: 4 }) unknown.type = 'Z' unknown.encode() const data = makeTar([ { path: 'dev/random', type: 'CharacterDevice' }, { path: 'dev/hd0', type: 'BlockDevice' }, { path: 'dev/fifo0', type: 'FIFO' }, unknown.block, 'asdf', '', '' ]) t.test('basic, warns', t => { const warnings = [] const u = new Unpack({ cwd: dir, onwarn: (w,d) => warnings.push([w,d]) }) const expect = [ ['unsupported entry type: CharacterDevice', { path: 'dev/random' }], ['unsupported entry type: BlockDevice', { path: 'dev/hd0' }], ['unsupported entry type: FIFO', { path: 'dev/fifo0' }] ] u.on('close', _ => { t.equal(fs.readdirSync(dir).length, 0) t.match(warnings, expect) t.end() }) u.end(data) }) t.test('strict, throws', t => { const warnings = [] const errors = [] const u = new Unpack({ cwd: dir, strict: true, onwarn: (w,d) => warnings.push([w,d]) }) u.on('error', e => errors.push(e)) u.on('close', _ => { t.equal(fs.readdirSync(dir).length, 0) t.same(warnings, []) t.match(errors, [ { message: 'unsupported entry type: CharacterDevice', data: { path: 'dev/random' } }, { message: 'unsupported entry type: BlockDevice', data: { path: 'dev/hd0' } }, { message: 'unsupported entry type: FIFO', data: { path: 'dev/fifo0' } } ]) t.end() }) u.end(data) }) t.end() }) t.test('file in dir path', t => { const dir = path.resolve(unpackdir, 'file-junk') t.teardown(_ => rimraf.sync(dir)) t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir) cb() }) const data = makeTar([ { path: 'd/i/r/file', type: 'File', size: 1, atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, 'a', { path: 'd/i/r/file/a/b/c', type: 'File', size: 1, atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, 'b', '', '' ]) t.test('fail because of file', t => { const check = t => { t.equal(fs.readFileSync(dir + '/d/i/r/file', 'utf8'), 'a') t.throws(_ => fs.statSync(dir + '/d/i/r/file/a/b/c')) t.end() } t.plan(2) t.test('async', t => { new Unpack({ cwd: dir }).on('close', _ => check(t)).end(data) }) t.test('sync', t => { new UnpackSync({ cwd: dir }).end(data) check(t) }) }) t.test('clobber on through', t => { const check = t => { t.ok(fs.statSync(dir + '/d/i/r/file').isDirectory()) t.equal(fs.readFileSync(dir + '/d/i/r/file/a/b/c', 'utf8'), 'b') t.end() } t.plan(2) t.test('async', t => { new Unpack({ cwd: dir, unlink: true }).on('close', _ => check(t)).end(data) }) t.test('sync', t => { new UnpackSync({ cwd: dir, unlink: true }).end(data) check(t) }) }) t.end() }) t.test('set umask option', t => { const dir = path.resolve(unpackdir, 'umask') mkdirp.sync(dir) t.tearDown(_ => rimraf.sync(dir)) const data = makeTar([ { path: 'd/i/r/dir', type: 'Directory', mode: 0o751 }, '', '' ]) new Unpack({ umask: 0o027, cwd: dir }).on('close', _ => { t.equal(fs.statSync(dir + '/d/i/r').mode & 0o7777, 0o750) t.equal(fs.statSync(dir + '/d/i/r/dir').mode & 0o7777, 0o751) t.end() }).end(data) }) t.test('absolute paths', t => { const dir = path.join(unpackdir, 'absolute-paths') t.teardown(_ => rimraf.sync(dir)) t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir) cb() }) const absolute = path.resolve(dir, 'd/i/r/absolute') t.ok(path.isAbsolute(absolute)) const parsed = path.parse(absolute) const relative = absolute.substr(parsed.root.length) t.notOk(path.isAbsolute(relative)) const data = makeTar([ { path: absolute, type: 'File', size: 1, atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, 'a', '', '' ]) t.test('warn and correct', t => { const check = t => { t.same(warnings, [[ 'stripping / from absolute path', absolute ]]) t.ok(fs.lstatSync(path.resolve(dir, relative)).isFile(), 'is file') t.end() } const warnings = [] t.test('async', t => { warnings.length = 0 new Unpack({ cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).on('close', _=> check(t)).end(data) }) t.test('sync', t => { warnings.length = 0 new UnpackSync({ cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).end(data) check(t) }) t.end() }) t.test('preserve absolute path', t => { const check = t => { t.same(warnings, []) t.ok(fs.lstatSync(absolute).isFile(), 'is file') t.end() } const warnings = [] t.test('async', t => { warnings.length = 0 new Unpack({ preservePaths: true, cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).on('close', _=> check(t)).end(data) }) t.test('sync', t => { warnings.length = 0 new UnpackSync({ preservePaths: true, cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).end(data) check(t) }) t.end() }) t.end() }) t.test('.. paths', t => { const dir = path.join(unpackdir, 'dotted-paths') t.teardown(_ => rimraf.sync(dir)) t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir) cb() }) const fmode = 0o755 const dotted = 'a/b/c/../d' const resolved = path.resolve(dir, dotted) const data = makeTar([ { path: dotted, type: 'File', size: 1, atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, 'd', '', '' ]) t.test('warn and skip', t => { const check = t => { t.same(warnings, [[ 'path contains \'..\'', dotted ]]) t.throws(_=>fs.lstatSync(resolved)) t.end() } const warnings = [] t.test('async', t => { warnings.length = 0 new Unpack({ fmode: fmode, cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).on('close', _=> check(t)).end(data) }) t.test('sync', t => { warnings.length = 0 new UnpackSync({ fmode: fmode, cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).end(data) check(t) }) t.end() }) t.test('preserve dotted path', t => { const check = t => { t.same(warnings, []) t.ok(fs.lstatSync(resolved).isFile(), 'is file') t.equal(fs.lstatSync(resolved).mode & 0o777, fmode, 'mode is 0755') t.end() } const warnings = [] t.test('async', t => { warnings.length = 0 new Unpack({ fmode: fmode, preservePaths: true, cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).on('close', _=> check(t)).end(data) }) t.test('sync', t => { warnings.length = 0 new UnpackSync({ fmode: fmode, preservePaths: true, cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).end(data) check(t) }) t.end() }) t.end() }) t.test('fail all stats', t => { const poop = new Error('poop') poop.code = 'EPOOP' let unmutate const dir = path.join(unpackdir, 'stat-fail') const warnings = [] t.beforeEach(cb => { warnings.length = 0 mkdirp.sync(dir) unmutate = mutateFS.statFail(poop) cb() }) t.afterEach(cb => { unmutate() rimraf.sync(dir) cb() }) const data = makeTar([ { path: 'd/i/r/file/', type: 'Directory', atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, { path: 'd/i/r/dir/', type: 'Directory', mode: 0o751, atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, { path: 'd/i/r/file', type: 'File', size: 1, atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, 'a', { path: 'd/i/r/link', type: 'Link', linkpath: 'd/i/r/file', atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, { path: 'd/i/r/symlink', type: 'SymbolicLink', linkpath: './dir', atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, '', '' ]) const check = (t, expect) => { t.match(warnings, expect) warnings.forEach(w => t.equal(w[0], w[1].message)) t.end() } t.test('async', t => { const expect = [ ['poop', poop], ['poop', poop] ] new Unpack({ cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).on('close', _ => check(t, expect)).end(data) }) t.test('sync', t => { const expect = [ [ String, { code: 'EISDIR', path: path.resolve(dir, 'd/i/r/file'), syscall: 'open' } ], [ String, { dest: path.resolve(dir, 'd/i/r/link'), path: path.resolve(dir, 'd/i/r/file'), syscall: 'link' } ] ] new UnpackSync({ cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).end(data) check(t, expect) }) t.end() }) t.test('fail symlink', t => { const poop = new Error('poop') poop.code = 'EPOOP' const unmutate = mutateFS.fail('symlink', poop) const dir = path.join(unpackdir, 'symlink-fail') t.teardown(_ => (unmutate(), rimraf.sync(dir))) const warnings = [] t.beforeEach(cb => { warnings.length = 0 rimraf.sync(dir) mkdirp.sync(dir) cb() }) const data = makeTar([ { path: 'd/i/r/dir/', type: 'Directory', mode: 0o751, atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, { path: 'd/i/r/symlink', type: 'SymbolicLink', linkpath: './dir', atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, '', '' ]) const check = (t, expect) => { t.match(warnings, expect) warnings.forEach(w => t.equal(w[0], w[1].message)) t.end() } t.test('async', t => { const expect = [['poop', poop]] new Unpack({ cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).on('close', _ => check(t, expect)).end(data) }) t.test('sync', t => { const expect = [['poop', poop]] new UnpackSync({ cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).end(data) check(t, expect) }) t.end() }) t.test('fail chmod', t => { const poop = new Error('poop') poop.code = 'EPOOP' const unmutate = mutateFS.fail('chmod', poop) const dir = path.join(unpackdir, 'chmod-fail') t.teardown(_ => (unmutate(), rimraf.sync(dir))) const warnings = [] t.beforeEach(cb => { warnings.length = 0 rimraf.sync(dir) mkdirp.sync(dir) cb() }) const data = makeTar([ { path: 'd/i/r/dir/', type: 'Directory', atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, { path: 'd/i/r/dir/', type: 'Directory', mode: 0o751, atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, '', '' ]) const check = (t, expect) => { t.match(warnings, expect) warnings.forEach(w => t.equal(w[0], w[1].message)) t.end() } t.test('async', t => { const expect = [['poop', poop]] new Unpack({ cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).on('close', _ => check(t, expect)).end(data) }) t.test('sync', t => { const expect = [['poop', poop]] new UnpackSync({ cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).end(data) check(t, expect) }) t.end() }) t.test('fail mkdir', t => { const poop = new Error('poop') poop.code = 'EPOOP' let unmutate const dir = path.join(unpackdir, 'mkdir-fail') t.teardown(_ => rimraf.sync(dir)) const warnings = [] t.beforeEach(cb => { warnings.length = 0 rimraf.sync(dir) mkdirp.sync(dir) unmutate = mutateFS.fail('mkdir', poop) cb() }) t.afterEach(cb => { unmutate() cb() }) const data = makeTar([ { path: 'dir/', type: 'Directory', mode: 0o751, atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z'), mtime: new Date('2011-03-27T22:16:31.000Z') }, '', '' ]) const expect = [ [ 'ENOENT: no such file or directory, lstat \'' + path.resolve(dir, 'dir') + '\'', { code: 'ENOENT', syscall: 'lstat', path: path.resolve(dir, 'dir') } ] ] const check = t => { t.match(warnings, expect) warnings.forEach(w => t.equal(w[0], w[1].message)) t.end() } t.test('async', t => { new Unpack({ cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).on('close', _ => check(t)).end(data) }) t.test('sync', t => { new UnpackSync({ cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).end(data) check(t) }) t.end() }) t.test('fail write', t => { const poop = new Error('poop') poop.code = 'EPOOP' const unmutate = mutateFS.fail('write', poop) const dir = path.join(unpackdir, 'write-fail') t.teardown(_ => (unmutate(), rimraf.sync(dir))) const warnings = [] t.beforeEach(cb => { warnings.length = 0 rimraf.sync(dir) mkdirp.sync(dir) cb() }) const data = makeTar([ { path: 'x', type: 'File', size: 1, mode: 0o751, mtime: new Date('2011-03-27T22:16:31.000Z') }, 'x', '', '' ]) const expect = [ [ 'poop', poop ] ] const check = t => { t.match(warnings, expect) warnings.forEach(w => t.equal(w[0], w[1].message)) t.end() } t.test('async', t => { new Unpack({ cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).on('close', _ => check(t)).end(data) }) t.test('sync', t => { new UnpackSync({ cwd: dir, onwarn: (w, d) => warnings.push([w, d]) }).end(data) check(t) }) t.end() }) t.test('skip existing', t => { const dir = path.join(unpackdir, 'skip-newer') t.teardown(_ => rimraf.sync(dir)) const date = new Date('2011-03-27T22:16:31.000Z') t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir) fs.writeFileSync(dir + '/x', 'y') fs.utimesSync(dir + '/x', date, date) cb() }) const data = makeTar([ { path: 'x', type: 'File', size: 1, mode: 0o751, mtime: new Date('2013-12-19T17:00:00.000Z') }, 'x', '', '' ]) const check = t => { const st = fs.lstatSync(dir + '/x') t.equal(st.atime.toISOString(), date.toISOString()) t.equal(st.mtime.toISOString(), date.toISOString()) const data = fs.readFileSync(dir + '/x', 'utf8') t.equal(data, 'y') t.end() } t.test('async', t => { new Unpack({ cwd: dir, keep: true }).on('close', _ => check(t)).end(data) }) t.test('sync', t => { new UnpackSync({ cwd: dir, keep: true }).end(data) check(t) }) t.end() }) t.test('skip newer', t => { const dir = path.join(unpackdir, 'skip-newer') t.teardown(_ => rimraf.sync(dir)) const date = new Date('2013-12-19T17:00:00.000Z') t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir) fs.writeFileSync(dir + '/x', 'y') fs.utimesSync(dir + '/x', date, date) cb() }) const data = makeTar([ { path: 'x', type: 'File', size: 1, mode: 0o751, mtime: new Date('2011-03-27T22:16:31.000Z') }, 'x', '', '' ]) const check = t => { const st = fs.lstatSync(dir + '/x') t.equal(st.atime.toISOString(), date.toISOString()) t.equal(st.mtime.toISOString(), date.toISOString()) const data = fs.readFileSync(dir + '/x', 'utf8') t.equal(data, 'y') t.end() } t.test('async', t => { new Unpack({ cwd: dir, newer: true }).on('close', _ => check(t)).end(data) }) t.test('sync', t => { new UnpackSync({ cwd: dir, newer: true }).end(data) check(t) }) t.end() }) t.test('no mtime', t => { const dir = path.join(unpackdir, 'skip-newer') t.teardown(_ => rimraf.sync(dir)) t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir) cb() }) const date = new Date('2011-03-27T22:16:31.000Z') const data = makeTar([ { path: 'x/', type: 'Directory', size: 0, atime: date, ctime: date, mtime: date }, { path: 'x/y', type: 'File', size: 1, mode: 0o751, atime: date, ctime: date, mtime: date }, 'x', '', '' ]) const check = t => { // this may fail if it's run on March 27, 2011 const stx = fs.lstatSync(dir + '/x') t.notEqual(stx.atime.toISOString(), date.toISOString()) t.notEqual(stx.mtime.toISOString(), date.toISOString()) const sty = fs.lstatSync(dir + '/x/y') t.notEqual(sty.atime.toISOString(), date.toISOString()) t.notEqual(sty.mtime.toISOString(), date.toISOString()) const data = fs.readFileSync(dir + '/x/y', 'utf8') t.equal(data, 'x') t.end() } t.test('async', t => { new Unpack({ cwd: dir, noMtime: true }).on('close', _ => check(t)).end(data) }) t.test('sync', t => { new UnpackSync({ cwd: dir, noMtime: true }).end(data) check(t) }) t.end() }) t.test('unpack big enough to pause/drain', t => { const dir = path.resolve(unpackdir, 'drain-clog') mkdirp.sync(dir) t.tearDown(_ => rimraf.sync(dir)) const stream = fs.createReadStream(fixtures + '/parses.tar') const u = new Unpack({ cwd: dir, strip: 3, strict: true }) u.on('ignoredEntry', entry => t.fail('should not get ignored entry: ' + entry.path)) u.on('close', _ => { t.pass('extraction finished') const actual = fs.readdirSync(dir) const expected = fs.readdirSync(parses) t.same(actual, expected) t.end() }) stream.pipe(u) }) t.test('set owner', t => { // fake it on platforms that don't have getuid const myUid = 501 const myGid = 1024 const getuid = process.getuid const getgid = process.getgid process.getuid = _ => myUid process.getgid = _ => myGid t.teardown(_ => (process.getuid = getuid, process.getgid = getgid)) // can't actually do this because it requires root, but we can // verify that chown gets called. t.test('as root, defaults to true', t => { const getuid = process.getuid process.getuid = _ => 0 const u = new Unpack() t.equal(u.preserveOwner, true, 'preserveOwner enabled') process.getuid = getuid t.end() }) t.test('as non-root, defaults to false', t => { const getuid = process.getuid process.getuid = _ => 501 const u = new Unpack() t.equal(u.preserveOwner, false, 'preserveOwner disabled') process.getuid = getuid t.end() }) const data = makeTar([ { uid: 2456124561, gid: 813708013, path: 'foo/', type: 'Directory' }, { uid: myUid, gid: 813708013, path: 'foo/my-uid-different-gid', type: 'File', size: 3 }, 'qux', { uid: 2456124561, path: 'foo/different-uid-nogid', type: 'Directory' }, { uid: 2456124561, path: 'foo/different-uid-nogid/bar', type: 'File', size: 3 }, 'qux', { gid: 813708013, path: 'foo/different-gid-nouid/bar', type: 'File', size: 3 }, 'qux', { uid: myUid, gid: myGid, path: 'foo-mine/', type: 'Directory' }, { uid: myUid, gid: myGid, path: 'foo-mine/bar', type: 'File', size: 3 }, 'qux', { uid: myUid, path: 'foo-mine/nogid', type: 'Directory' }, { uid: myUid, path: 'foo-mine/nogid/bar', type: 'File', size: 3 }, 'qux', '', '' ]) t.test('chown failure results in unpack failure', t => { const dir = path.resolve(unpackdir, 'chown') const poop = new Error('expected chown failure') const un = mutateFS.fail('chown', poop) const unf = mutateFS.fail('fchown', poop) t.teardown(_ => (un(), unf())) t.test('sync', t => { mkdirp.sync(dir) t.teardown(_ => rimraf.sync(dir)) let warned = false const u = new Unpack.Sync({ cwd: dir, preserveOwner: true, onwarn: (m, er) => { if (!warned) { warned = true t.equal(er, poop) t.end() } } }) u.end(data) }) t.test('async', t => { mkdirp.sync(dir) t.teardown(_ => rimraf.sync(dir)) let warned = false const u = new Unpack({ cwd: dir, preserveOwner: true, onwarn: (m, er) => { if (!warned) { warned = true t.equal(er, poop) t.end() } } }) u.end(data) }) t.test('cleanup', t => { rimraf.sync(dir) t.end() }) t.end() }) t.test('chown when true', t => { const dir = path.resolve(unpackdir, 'chown') const chown = fs.chown const chownSync = fs.chownSync const fchownSync = fs.fchownSync let called = 0 fs.fchown = fs.chown = (path, owner, group, cb) => { called ++ cb() } fs.chownSync = fs.fchownSync = _ => called++ t.teardown(_ => { fs.chown = chown fs.chownSync = chownSync fs.fchownSync = fchownSync }) t.test('sync', t => { mkdirp.sync(dir) t.teardown(_ => rimraf.sync(dir)) called = 0 const u = new Unpack.Sync({ cwd: dir, preserveOwner: true }) u.end(data) t.ok(called >= 5, 'called chowns') t.end() }) t.test('async', t => { mkdirp.sync(dir) t.teardown(_ => rimraf.sync(dir)) called = 0 const u = new Unpack({ cwd: dir, preserveOwner: true }) u.end(data) u.on('close', _ => { t.ok(called >= 5, 'called chowns') t.end() }) }) t.end() }) t.test('no chown when false', t => { const dir = path.resolve(unpackdir, 'nochown') const poop = new Error('poop') const un = mutateFS.fail('chown', poop) const unf = mutateFS.fail('fchown', poop) t.teardown(_ => { rimraf.sync(dir) un() unf() }) t.beforeEach(cb => mkdirp(dir, cb)) t.afterEach(cb => rimraf(dir, cb)) const check = t => { const dirStat = fs.statSync(dir + '/foo') t.notEqual(dirStat.uid, 2456124561) t.notEqual(dirStat.gid, 813708013) const fileStat = fs.statSync(dir + '/foo/my-uid-different-gid') t.notEqual(fileStat.uid, 2456124561) t.notEqual(fileStat.gid, 813708013) const dirStat2 = fs.statSync(dir + '/foo/different-uid-nogid') t.notEqual(dirStat2.uid, 2456124561) const fileStat2 = fs.statSync(dir + '/foo/different-uid-nogid/bar') t.notEqual(fileStat2.uid, 2456124561) t.end() } t.test('sync', t => { const u = new Unpack.Sync({ cwd: dir, preserveOwner: false }) u.end(data) check(t) }) t.test('async', t => { const u = new Unpack({ cwd: dir, preserveOwner: false }) u.end(data) u.on('close', _ => check(t)) }) t.end() }) t.end() }) t.test('unpack when dir is not writable', t => { const data = makeTar([ { path: 'a/', type: 'Directory', mode: 0o444 }, { path: 'a/b', type: 'File', size: 1 }, 'a', '', '' ]) const dir = path.resolve(unpackdir, 'nowrite-dir') t.beforeEach(cb => mkdirp(dir, cb)) t.afterEach(cb => rimraf(dir, cb)) const check = t => { t.equal(fs.statSync(dir + '/a').mode & 0o7777, 0o744) t.equal(fs.readFileSync(dir + '/a/b', 'utf8'), 'a') t.end() } t.test('sync', t => { const u = new Unpack.Sync({ cwd: dir, strict: true }) u.end(data) check(t) }) t.test('async', t => { const u = new Unpack({ cwd: dir, strict: true }) u.end(data) u.on('close', _ => check(t)) }) t.end() }) t.test('transmute chars on windows', t => { const data = makeTar([ { path: '<|>?:.txt', size: 5, type: 'File' }, '<|>?:', '', '' ]) const dir = path.resolve(unpackdir, 'winchars') t.beforeEach(cb => mkdirp(dir, cb)) t.afterEach(cb => rimraf(dir, cb)) const hex = 'ef80bcef81bcef80beef80bfef80ba2e747874' const uglyName = Buffer.from(hex, 'hex').toString() const ugly = path.resolve(dir, uglyName) const check = t => { t.same(fs.readdirSync(dir), [ uglyName ]) t.equal(fs.readFileSync(ugly, 'utf8'), '<|>?:') t.end() } t.test('async', t => { const u = new Unpack({ cwd: dir, win32: true }) u.end(data) u.on('close', _ => check(t)) }) t.test('sync', t => { const u = new Unpack.Sync({ cwd: dir, win32: true }) u.end(data) check(t) }) t.end() }) t.test('safely transmute chars on windows with absolutes', t => { // don't actually make the directory const poop = new Error('poop') t.teardown(mutateFS.fail('mkdir', poop)) const data = makeTar([ { path: 'c:/x/y/z/<|>?:.txt', size: 5, type: 'File' }, '<|>?:', '', '' ]) const hex = 'ef80bcef81bcef80beef80bfef80ba2e747874' const uglyName = Buffer.from(hex, 'hex').toString() const uglyPath = 'c:/x/y/z/' + uglyName const u = new Unpack({ win32: true, preservePaths: true }) u.on('entry', entry => { t.equal(entry.path, uglyPath) t.end() }) u.end(data) }) t.test('use explicit chmod when required by umask', t => { process.umask(0o022) const basedir = path.resolve(unpackdir, 'umask-chmod') const data = makeTar([ { path: 'x/y/z', mode: 0o775, type: 'Directory' }, '', '' ]) const check = t => { const st = fs.statSync(basedir + '/x/y/z') t.equal(st.mode & 0o777, 0o775) rimraf.sync(basedir) t.end() } t.test('async', t => { mkdirp.sync(basedir) const unpack = new Unpack({ cwd: basedir }) unpack.on('close', _ => check(t)) unpack.end(data) }) return t.test('sync', t => { mkdirp.sync(basedir) const unpack = new Unpack.Sync({ cwd: basedir }) unpack.end(data) check(t) }) }) t.test('chown implicit dirs and also the entries', t => { const basedir = path.resolve(unpackdir, 'chownr') // club these so that the test can run as non-root const chown = fs.chown const chownSync = fs.chownSync const getuid = process.getuid const getgid = process.getgid t.teardown(_ => { fs.chown = chown fs.chownSync = chownSync process.getgid = getgid }) let chowns = 0 let currentTest = null fs.fchown = fs.chown = (path, uid, gid, cb) => { currentTest.equal(uid, 420, 'chown(' + path + ') uid') currentTest.equal(gid, 666, 'chown(' + path + ') gid') chowns ++ cb() } fs.chownSync = fs.fchownSync = (path, uid, gid) => { currentTest.equal(uid, 420, 'chownSync(' + path + ') uid') currentTest.equal(gid, 666, 'chownSync(' + path + ') gid') chowns ++ } const data = makeTar([ { path: 'a/b/c', mode: 0o775, type: 'File', size: 1, uid: null, gid: null }, '.', { path: 'x/y/z', mode: 0o775, uid: 12345, gid: 54321, type: 'File', size: 1 }, '.', '', '' ]) const check = t => { currentTest = null t.equal(chowns, 6) chowns = 0 rimraf.sync(basedir) t.end() } t.test('throws when setting uid/gid improperly', t => { t.throws(_ => new Unpack({ uid: 420 }), TypeError('cannot set owner without number uid and gid')) t.throws(_ => new Unpack({ gid: 666 }), TypeError('cannot set owner without number uid and gid')) t.throws(_ => new Unpack({ uid: 1, gid: 2, preserveOwner: true }), TypeError('cannot preserve owner in archive and also set owner explicitly')) t.end() }) const tests = () => t.test('async', t => { currentTest = t mkdirp.sync(basedir) const unpack = new Unpack({ cwd: basedir, uid: 420, gid: 666 }) unpack.on('close', _ => check(t)) unpack.end(data) }).then(t.test('sync', t => { currentTest = t mkdirp.sync(basedir) const unpack = new Unpack.Sync({ cwd: basedir, uid: 420, gid: 666 }) unpack.end(data) check(t) })) tests() t.test('make it look like processUid is 420', t => { process.getuid = () => 420 t.end() }) tests() t.test('make it look like processGid is 666', t => { process.getuid = getuid process.getgid = () => 666 t.end() }) return tests() }) t.test('bad cwd setting', t => { const basedir = path.resolve(unpackdir, 'bad-cwd') mkdirp.sync(basedir) t.teardown(_ => rimraf.sync(basedir)) const cases = [ // the cwd itself { path: './', type: 'Directory' }, // a file directly in the cwd { path: 'a', type: 'File' }, // a file nested within a subdir of the cwd { path: 'a/b/c', type: 'File' } ] fs.writeFileSync(basedir + '/file', 'xyz') cases.forEach(c => t.test(c.type + ' ' + c.path, t => { const data = makeTar([ { path: c.path, mode: 0o775, type: c.type, size: 0, uid: null, gid: null }, '', '' ]) t.test('cwd is a file', t => { const cwd = basedir + '/file' const opt = { cwd: cwd } t.throws(_ => new Unpack.Sync(opt).end(data), { name: 'CwdError', message: 'ENOTDIR: Cannot cd into \'' + cwd + '\'', path: cwd, code: 'ENOTDIR' }) new Unpack(opt).on('error', er => { t.match(er, { name: 'CwdError', message: 'ENOTDIR: Cannot cd into \'' + cwd + '\'', path: cwd, code: 'ENOTDIR' }) t.end() }).end(data) }) return t.test('cwd is missing', t => { const cwd = basedir + '/asdf/asdf/asdf' const opt = { cwd: cwd } t.throws(_ => new Unpack.Sync(opt).end(data), { name: 'CwdError', message: 'ENOENT: Cannot cd into \'' + cwd + '\'', path: cwd, code: 'ENOENT' }) new Unpack(opt).on('error', er => { t.match(er, { name: 'CwdError', message: 'ENOENT: Cannot cd into \'' + cwd + '\'', path: cwd, code: 'ENOENT' }) t.end() }).end(data) }) })) t.end() }) t.test('transform', t => { const basedir = path.resolve(unpackdir, 'transform') t.teardown(_ => rimraf.sync(basedir)) const cases = { 'emptypax.tar': { '🌟.txt': '🌟✧✩⭐︎✪✫✬✭✮⚝✯✰✵✶✷✸✹❂⭑⭒★☆✡☪✴︎✦✡️🔯✴️🌠\n', 'one-byte.txt': '[a]' }, 'body-byte-counts.tar': { '1024-bytes.txt': new Array(1024).join('[x]') + '[\n]', '512-bytes.txt': new Array(512).join('[x]') + '[\n]', 'one-byte.txt': '[a]', 'zero-byte.txt': '' }, 'utf8.tar': { '🌟.txt': '🌟✧✩⭐︎✪✫✬✭✮⚝✯✰✵✶✷✸✹❂⭑⭒★☆✡☪✴︎✦✡️🔯✴️🌠\n', 'Ω.txt': '[Ω]', 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt': '[Ω]' } } const txFn = entry => { switch (path.basename(entry.path)) { case 'zero-bytes.txt': return entry case 'one-byte.txt': case '1024-bytes.txt': case '512-bytes.txt': case 'Ω.txt': return new Bracer() } } class Bracer extends MiniPass { write (data) { const d = data.toString().split('').map(c => '[' + c + ']').join('') return super.write(d) } } const tarfiles = Object.keys(cases) t.plan(tarfiles.length) t.jobs = tarfiles.length tarfiles.forEach(tarfile => { t.test(tarfile, t => { const tf = path.resolve(tars, tarfile) const dir = path.resolve(basedir, tarfile) t.beforeEach(cb => { rimraf.sync(dir) mkdirp.sync(dir) cb() }) const check = t => { const expect = cases[tarfile] Object.keys(expect).forEach(file => { const f = path.resolve(dir, file) t.equal(fs.readFileSync(f, 'utf8'), expect[file], file) }) t.end() } t.plan(2) t.test('async unpack', t => { t.plan(2) t.test('strict', t => { const unpack = new Unpack({ cwd: dir, strict: true, transform: txFn }) fs.createReadStream(tf).pipe(unpack) eos(unpack, _ => check(t)) }) t.test('loose', t => { const unpack = new Unpack({ cwd: dir, transform: txFn }) fs.createReadStream(tf).pipe(unpack) eos(unpack, _ => check(t)) }) }) t.test('sync unpack', t => { t.plan(2) t.test('strict', t => { const unpack = new UnpackSync({ cwd: dir, strict: true, transform: txFn }) unpack.end(fs.readFileSync(tf)) check(t) }) t.test('loose', t => { const unpack = new UnpackSync({ cwd: dir, transform: txFn }) unpack.end(fs.readFileSync(tf)) check(t) }) }) }) }) }) t.test('transform error', t => { const dir = path.resolve(unpackdir, 'transform-error') mkdirp.sync(dir) t.teardown(_ => rimraf.sync(dir)) const tarfile = path.resolve(tars, 'body-byte-counts.tar') const tardata = fs.readFileSync(tarfile) const poop = new Error('poop') const txFn = () => { const tx = new MiniPass() tx.write = () => tx.emit('error', poop) tx.resume() return tx } t.test('sync unpack', t => { t.test('strict', t => { const unpack = new UnpackSync({ cwd: dir, strict: true, transform: txFn }) const expect = 3 let actual = 0 unpack.on('error', er => { t.equal(er, poop) actual ++ }) unpack.end(tardata) t.equal(actual, expect, 'error count') t.end() }) t.test('loose', t => { const unpack = new UnpackSync({ cwd: dir, transform: txFn }) const expect = 3 let actual = 0 unpack.on('warn', (msg, er) => { t.equal(er, poop) actual ++ }) unpack.end(tardata) t.equal(actual, expect, 'error count') t.end() }) t.end() }) t.test('async unpack', t => { // the last error is about the folder being deleted, just ignore that one t.test('strict', t => { const unpack = new Unpack({ cwd: dir, strict: true, transform: txFn }) t.plan(3) t.teardown(() => { unpack.removeAllListeners('error') unpack.on('error', () => {}) }) unpack.on('error', er => t.equal(er, poop)) unpack.end(tardata) }) t.test('loose', t => { const unpack = new Unpack({ cwd: dir, transform: txFn }) t.plan(3) t.teardown(() => unpack.removeAllListeners('warn')) unpack.on('warn', (msg, er) => t.equal(er, poop)) unpack.end(tardata) }) t.end() }) t.end() }) t.test('futimes/fchown failures', t => { const archive = path.resolve(tars, 'utf8.tar') const dir = path.resolve(unpackdir, 'futimes-fchown-fails') const tardata = fs.readFileSync(archive) const poop = new Error('poop') const second = new Error('second error') const reset = cb => { rimraf.sync(dir) mkdirp.sync(dir) } reset() t.teardown(() => rimraf.sync(dir)) const methods = ['utimes', 'chown'] methods.forEach(method => { const fc = method === 'chown' t.test(method +' fallback', t => { t.teardown(mutateFS.fail('f' + method, poop)) // forceChown will fail on systems where the user is not root // and/or the uid/gid in the archive aren't valid. We're just // verifying coverage here, so make the method auto-pass. t.teardown(mutateFS.pass(method)) t.plan(2) t.test('async unpack', t => { t.plan(2) t.test('strict', t => { reset() const unpack = new Unpack({ cwd: dir, strict: true, forceChown: fc }) unpack.on('finish', t.end) unpack.end(tardata) }) t.test('loose', t => { reset() const unpack = new Unpack({ cwd: dir, forceChown: fc }) unpack.on('finish', t.end) unpack.on('warn', t.fail) unpack.end(tardata) }) }) t.test('sync unpack', t => { t.plan(2) t.test('strict', t => { reset() const unpack = new Unpack.Sync({ cwd: dir, strict: true, forceChown: fc }) unpack.end(tardata) t.end() }) t.test('loose', t => { reset() const unpack = new Unpack.Sync({ cwd: dir, forceChown: fc }) unpack.on('warn', t.fail) unpack.end(tardata) t.end() }) }) }) t.test('also fail ' + method, t => { const unmutate = mutateFS.fail('f' + method, poop) const unmutate2 = mutateFS.fail(method, second) t.teardown(() => { unmutate() unmutate2() }) t.plan(2) t.test('async unpack', t => { t.plan(2) t.test('strict', t => { reset() const unpack = new Unpack({ cwd: dir, strict: true, forceChown: fc }) t.plan(3) unpack.on('error', er => t.equal(er, poop)) unpack.end(tardata) }) t.test('loose', t => { reset() const unpack = new Unpack({ cwd: dir, forceChown: fc }) t.plan(3) unpack.on('warn', (m, er) => t.equal(er, poop)) unpack.end(tardata) }) }) t.test('sync unpack', t => { t.plan(2) t.test('strict', t => { reset() const unpack = new Unpack.Sync({ cwd: dir, strict: true, forceChown: fc }) t.plan(3) unpack.on('error', er => t.equal(er, poop)) unpack.end(tardata) }) t.test('loose', t => { reset() const unpack = new Unpack.Sync({ cwd: dir, forceChown: fc }) t.plan(3) unpack.on('warn', (m, er) => t.equal(er, poop)) unpack.end(tardata) }) }) }) }) t.end() }) t.test('onentry option is preserved', t => { const basedir = path.resolve(unpackdir, 'onentry-method') mkdirp.sync(basedir) t.teardown(() => rimraf.sync(basedir)) let oecalls = 0 const onentry = entry => oecalls++ const data = makeTar([ { path: 'd/i', type: 'Directory' }, { path: 'd/i/r/dir', type: 'Directory', mode: 0o751, mtime: new Date('2011-03-27T22:16:31.000Z') }, { path: 'd/i/r/file', type: 'File', size: 1, atime: new Date('1979-07-01T19:10:00.000Z'), ctime: new Date('2011-03-27T22:16:31.000Z') }, 'a', '', '' ]) const check = t => { t.equal(oecalls, 3) oecalls = 0 t.end() } t.test('sync', t => { const dir = path.join(basedir, 'sync') mkdirp.sync(dir) const unpack = new UnpackSync({ cwd: dir, onentry }) unpack.end(data) check(t) }) t.test('async', t => { const dir = path.join(basedir, 'async') mkdirp.sync(dir) const unpack = new Unpack({ cwd: dir, onentry }) unpack.on('finish', () => check(t)) unpack.end(data) }) t.end() }) t.test('do not reuse hardlinks, only nlink=1 files', t => { const basedir = path.resolve(unpackdir, 'hardlink-reuse') mkdirp.sync(basedir) t.teardown(() => rimraf.sync(basedir)) const now = new Date('2018-04-30T18:30:39.025Z') const data = makeTar([ { path: 'overwriteme', type: 'File', size: 4, mode: 0o644, mtime: now }, 'foo\n', { path: 'link', linkpath: 'overwriteme', type: 'Link', mode: 0o644, mtime: now }, { path: 'link', type: 'File', size: 4, mode: 0o644, mtime: now }, 'bar\n', '', '' ]) const checks = { 'link': 'bar\n', 'overwriteme': 'foo\n' } const check = t => { for (let f in checks) { t.equal(fs.readFileSync(basedir + '/' + f, 'utf8'), checks[f], f) t.equal(fs.statSync(basedir + '/' + f).nlink, 1, f) } t.end() } t.test('async', t => { const u = new Unpack({ cwd: basedir }) u.on('close', () => check(t)) u.end(data) }) t.test('sync', t => { const u = new UnpackSync({ cwd: basedir }) u.end(data) check(t) }) t.end() }) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/update.js000066400000000000000000000153771333044642000160510ustar00rootroot00000000000000'use strict' const Buffer = require('../lib/buffer.js') const t = require('tap') const u = require('../lib/update.js') const path = require('path') const fs = require('fs') const mkdirp = require('mkdirp') const rimraf = require('rimraf') const mutateFS = require('mutate-fs') const fixtures = path.resolve(__dirname, 'fixtures') const dir = path.resolve(fixtures, 'update') const tars = path.resolve(fixtures, 'tars') const file = dir + '/body-byte-counts.tar' const fileNoNulls = dir + '/no-null-eof.tar' const fileTruncHead = dir + '/truncated-head.tar' const fileTruncBody = dir + '/truncated-body.tar' const fileNonExistent = dir + '/does-not-exist.tar' const fileZeroByte = dir + '/zero.tar' const fileEmpty = dir + '/empty.tar' const fileCompressed = dir + '/compressed.tgz' const zlib = require('zlib') const spawn = require('child_process').spawn t.teardown(_ => rimraf.sync(dir)) const reset = cb => { rimraf.sync(dir) mkdirp.sync(dir) const data = fs.readFileSync(tars + '/body-byte-counts.tar') fs.writeFileSync(file, data) const dataNoNulls = data.slice(0, data.length - 1024) fs.writeFileSync(fileNoNulls, dataNoNulls) const dataTruncHead = Buffer.concat([dataNoNulls, data.slice(0, 500)]) fs.writeFileSync(fileTruncHead, dataTruncHead) const dataTruncBody = Buffer.concat([dataNoNulls, data.slice(0, 700)]) fs.writeFileSync(fileTruncBody, dataTruncBody) fs.writeFileSync(fileZeroByte, '') fs.writeFileSync(fileEmpty, Buffer.alloc(1024)) fs.writeFileSync(fileCompressed, zlib.gzipSync(data)) if (cb) cb() } t.test('setup', t => { reset(t.end) }) t.test('basic file add to archive (good or truncated)', t => { t.beforeEach(reset) const check = (file, t) => { const c = spawn('tar', ['tf', file]) const out = [] c.stdout.on('data', chunk => out.push(chunk)) c.on('close', (code, signal) => { t.equal(code, 0) t.equal(signal, null) const actual = Buffer.concat(out).toString().trim().split('\n') t.same(actual, [ '1024-bytes.txt', '512-bytes.txt', 'one-byte.txt', 'zero-byte.txt', path.basename(__filename) ]) t.end() }) } ;[file, fileNoNulls, fileTruncHead, fileTruncBody ].forEach(file => { t.test(path.basename(file), t => { const fileList = [path.basename(__filename)] t.test('sync', t => { u({ sync: true, file: file, cwd: __dirname }, fileList) check(file, t) }) t.test('async cb', t => { u({ file: file, cwd: __dirname }, fileList, er => { if (er) throw er check(file, t) }) }) t.test('async promise', t => { u({ file: file, cwd: __dirname }, fileList).then(_ => check(file, t)) }) t.end() }) }) t.end() }) t.test('add to empty archive', t => { t.beforeEach(reset) const check = (file, t) => { const c = spawn('tar', ['tf', file]) const out = [] c.stdout.on('data', chunk => out.push(chunk)) c.on('close', (code, signal) => { t.equal(code, 0) t.equal(signal, null) const actual = Buffer.concat(out).toString().trim().split('\n') t.same(actual, [ path.basename(__filename) ]) t.end() }) } ;[fileNonExistent, fileEmpty, fileZeroByte ].forEach(file => { t.test(path.basename(file), t => { const fileList = [path.basename(__filename)] t.test('sync', t => { u({ sync: true, file: file, cwd: __dirname }, fileList) check(file, t) }) t.test('async cb', t => { u({ file: file, cwd: __dirname }, fileList, er => { if (er) throw er check(file, t) }) }) t.test('async promise', t => { u({ file: file, cwd: __dirname }, fileList).then(_ => check(file, t)) }) t.end() }) }) t.end() }) t.test('cannot append to gzipped archives', t => { reset() const expect = new Error('cannot append to compressed archives') const expectT = new TypeError('cannot append to compressed archives') t.throws(_ => u({ file: fileCompressed, cwd: __dirname, gzip: true }, [path.basename(__filename)]), expectT) t.throws(_ => u({ file: fileCompressed, cwd: __dirname, sync: true }, [path.basename(__filename)]), expect) u({ file: fileCompressed, cwd: __dirname, }, [path.basename(__filename)], er => { t.match(er, expect) t.end() }) }) t.test('other throws', t => { t.throws(_ => u({}, ['asdf']), new TypeError('file is required')) t.throws(_ => u({file: 'asdf'}, []), new TypeError('no files or directories specified')) t.end() }) t.test('broken open', t => { const poop = new Error('poop') t.teardown(mutateFS.fail('open', poop)) t.throws(_ => u({ sync: true, file: file }, ['README.md']), poop) u({ file: file }, ['README.md'], er => { t.match(er, poop) t.end() }) }) t.test('broken fstat', t => { const poop = new Error('poop') t.teardown(mutateFS.fail('fstat', poop)) t.throws(_ => u({ sync: true, file: file }, ['README.md']), poop) u({ file: file }, ['README.md'], er => { t.match(er, poop) t.end() }) }) t.test('broken read', t => { const poop = new Error('poop') t.teardown(mutateFS.fail('read', poop)) t.throws(_ => u({ sync: true, file: file }, ['README.md']), poop) u({ file: file }, ['README.md'], er => { t.match(er, poop) t.end() }) }) t.test('do not add older file', t => { reset() const f = dir + '/1024-bytes.txt' fs.writeFileSync(f, new Array(1025).join('.')) const oldDate = new Date('1997-04-10T16:57:47.000Z') fs.utimesSync(f, oldDate, oldDate) const check = t => { t.equal(fs.statSync(file).size, 5120) t.end() } t.test('sync', t => { u({ file: file, cwd: dir, sync: true }, ['1024-bytes.txt']) check(t) }) t.test('async', t => { u({ file: file, cwd: dir }, ['1024-bytes.txt']).then(_ => check(t)) }) t.end() }) t.test('do add newer file', t => { t.beforeEach(cb => { reset() const f = dir + '/1024-bytes.txt' fs.writeFileSync(f, new Array(1025).join('.')) const newDate = new Date('2017-05-01T22:06:43.736Z') fs.utimesSync(f, newDate, newDate) cb() }) const check = t => { t.equal(fs.statSync(file).size, 6656) t.end() } t.test('sync', t => { u({ mtimeCache: new Map(), file: file, cwd: dir, sync: true, filter: path => path === '1024-bytes.txt' }, ['1024-bytes.txt', 'compressed.tgz']) check(t) }) t.test('async', t => { u({ file: file, cwd: dir }, ['1024-bytes.txt']).then(_ => check(t)) }) t.end() }) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/warn-mixin.js000066400000000000000000000007311333044642000166440ustar00rootroot00000000000000const t = require('tap') const EE = require('events').EventEmitter const warner = require('../lib/warn-mixin.js') const Warner = warner(EE) const w = new Warner() t.isa(w.warn, 'function') const warning = [] w.once('warn', (msg, data) => warning.push(msg, data)) w.warn('hello', w) t.same(warning, ['hello', w]) w.strict = true t.throws(_ => w.warn('hello', 123), { message: 'hello', data: 123 }) const poop = new Error('poop') t.throws(_ => w.warn('ok', poop), poop) c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/winchars.js000066400000000000000000000003701333044642000163700ustar00rootroot00000000000000'use strict' const t = require('tap') const wc = require('../lib/winchars.js') t.equal(wc.encode('<>'), '\uf03c\uf03e', 'encode') t.equal(wc.decode(wc.encode('<>')), '<>', 'decode') t.equal(wc.decode(wc.encode('\\|<>?:')), '\\|<>?:', 'all chars') c3b17d6c8b29cc71aca2454383b1cf9123b3e172.paxheader00006660000000000000000000000270133304464200020471xustar00rootroot00000000000000184 linkpath=170-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc node-tar-4.4.6/test/write-entry.js000066400000000000000000000670121333044642000170510ustar00rootroot00000000000000'use strict' const t = require('tap') const ReadEntry = require('../lib/read-entry.js') const makeTar = require('./make-tar.js') const WriteEntry = require('../lib/write-entry.js') const fs = require('fs') const path = require('path') const fixtures = path.resolve(__dirname, 'fixtures') const files = path.resolve(fixtures, 'files') const Header = require('../lib/header.js') const mutateFS = require('mutate-fs') process.env.USER = 'isaacs' const chmodr = require('chmodr') const Parser = require('../lib/parse.js') const rimraf = require('rimraf') const mkdirp = require('mkdirp') const isWindows = process.platform === 'win32' t.test('set up', t => { const one = fs.statSync(files + '/hardlink-1') const two = fs.statSync(files + '/hardlink-2') if (one.dev !== two.dev || one.ino !== two.ino) { fs.unlinkSync(files + '/hardlink-2') fs.linkSync(files + '/hardlink-1', files + '/hardlink-2') } chmodr.sync(files, 0o644) t.end() }) t.test('100 byte filename', t => { // do this one twice, so we have it with and without cache let statCache = null let linkCache = null t.plan(2) const runTest = t => { const f = '100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' const ws = new WriteEntry(f, { cwd: files, linkCache: linkCache, statCache: statCache }) let out = [] ws.on('data', c => out.push(c)) ws.on('end', _ => { out = Buffer.concat(out) t.match(ws, { header: { cksumValid: true, needPax: false, path: '100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', mode: 0o644, size: 100, linkpath: null, uname: 'isaacs', gname: null, devmaj: 0, devmin: 0 } }) const wss = new WriteEntry.Sync(f, { cwd: files, linkCache: linkCache, statCache: statCache, }) linkCache = ws.linkCache statCache = ws.statCache t.equal(out.slice(512).toString('hex'), wss.read().slice(512).toString('hex')) t.equal(out.length, 1024) t.equal(out.slice(0, 100).toString(), f) const h = new Header(out.slice(0, 512)) t.match(h, { cksumValid: true, needPax: false, path: '100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', mode: 0o644, size: 100, linkpath: '', uname: 'isaacs', gname: '', devmaj: 0, devmin: 0, }) t.equal(out.slice(512).toString('hex'), '6363636363636363636363636363636363636363636363636363636363636363' + '6363636363636363636363636363636363636363636363636363636363636363' + '6363636363636363636363636363636363636363636363636363636363636363' + '6363636300000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000' + '0000000000000000000000000000000000000000000000000000000000000000') t.end() }) } t.test('uncached', runTest) t.test('cached', runTest) }) t.test('directory', t => { const ws = new WriteEntry('dir', { cwd: files }) let out = [] ws.on('data', c => out.push(c)) ws.on('end', _ => { out = Buffer.concat(out) t.match(ws.header, { cksumValid: true, needPax: false, path: 'dir/', mode: 0o755, size: 0, linkpath: null, uname: 'isaacs', gname: null, devmaj: 0, devmin: 0 }) t.equal(out.length, 512) const wss = new WriteEntry.Sync('dir', { cwd: files }) t.equal(wss.read().length, 512) t.match(wss.header, { cksumValid: true, needPax: false, path: 'dir/', mode: 0o755, size: 0, linkpath: null, uname: 'isaacs', gname: null, devmaj: 0, devmin: 0 }) t.end() }) }) t.test('empty path for cwd', t => { const ws = new WriteEntry('') let out = [] ws.on('data', c => out.push(c)) ws.on('end', _ => { out = Buffer.concat(out) t.match(ws.header, { cksumValid: true, needPax: false, path: './', mode: fs.statSync('./').mode & 0o7777, size: 0, linkpath: null, uname: 'isaacs', gname: null, devmaj: 0, devmin: 0 }) t.end() }) }) t.test('symlink', t => { const ws = new WriteEntry('symlink', { cwd: files }) let out = [] ws.on('data', c => out.push(c)) const header = { cksumValid: true, needPax: false, path: 'symlink', size: 0, linkpath: 'hardlink-2', uname: 'isaacs', gname: null, devmaj: 0, devmin: 0 } const wss = new WriteEntry.Sync('symlink', { cwd: files }) t.match(wss.header, header) ws.on('end', _ => { out = Buffer.concat(out) t.equal(out.length, 512) t.match(ws.header, header) t.end() }) }) t.test('zero-byte file', t => { const ws = new WriteEntry('files/zero-byte.txt', { cwd: fixtures }) let out = [] ws.on('data', c => out.push(c)) ws.on('end', _ => { out = Buffer.concat(out) t.equal(out.length, 512) t.match(ws.header, { path: 'files/zero-byte.txt', cksumValid: true, needPax: false, mode: 0o644, size: 0, linkpath: null, uname: 'isaacs', gname: null, devmaj: 0, devmin: 0 }) t.end() }) }) t.test('hardlinks', t => { const h1 = 'hardlink-1' const h2 = 'hardlink-2' const f = path.resolve(files, h1) const wss = new WriteEntry.Sync('hardlink-1', { cwd: files }) const ws = new WriteEntry('files/hardlink-2', { cwd: fixtures, linkCache: wss.linkCache }) let out = [] ws.on('data', c => out.push(c)) ws.on('end', _ => { out = Buffer.concat(out) t.equal(out.length, 512) t.match(ws.header, { type: 'Link', path: 'files/hardlink-2', cksumValid: true, needPax: false, mode: 0o644, size: 0, linkpath: 'files/hardlink-1', uname: 'isaacs', gname: null, devmaj: 0, devmin: 0 }) t.end() }) }) t.test('hardlinks far away', t => { const h1 = 'hardlink-1' const f = path.resolve(files, h1) const stat = fs.statSync(f) const linkCache = new Map([[stat.dev + ':' + stat.ino, '/a/b/c/d/e']]) const ws = new WriteEntry('files/hardlink-2', { cwd: fixtures, linkCache: linkCache }) let out = [] ws.on('data', c => out.push(c)) ws.on('end', _ => { out = Buffer.concat(out) t.equal(out.length, 1024) t.match(ws.header, { path: 'files/hardlink-2', cksumValid: true, needPax: false, mode: 0o644, size: 26, linkpath: null, uname: 'isaacs', gname: null, devmaj: 0, devmin: 0 }) t.end() }) }) t.test('really deep path', t => { const f = 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' const ws = new WriteEntry(f, { cwd: files }) let out = [] ws.on('data', c => out.push(c)) ws.on('end', _ => { out = Buffer.concat(out) t.match(ws.header, { cksumValid: true, needPax: true, path: 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', mode: 0o644, size: 100, linkpath: null, uname: 'isaacs', gname: null, devmaj: 0, devmin: 0 }) t.equal(out.length, 2048) t.end() }) }) t.test('no pax', t => { const f = 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' const ws = new WriteEntry(f, { cwd: files, noPax: true }) let out = [] ws.on('data', c => out.push(c)) ws.on('end', _ => { out = Buffer.concat(out) t.match(ws.header, { cksumValid: true, needPax: true, path: 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc', mode: 0o644, size: 100, linkpath: null, uname: 'isaacs', gname: null, devmaj: 0, devmin: 0 }) t.equal(out.length, 1024) t.end() }) }) t.test('nonexistent file', t => { const f = path.resolve(files, 'does not exist') const ws = new WriteEntry('does not exist', { cwd: files }) ws.on('error', er => { t.match(er, { message: 'ENOENT: no such file or directory, lstat \'' + f + '\'', code: 'ENOENT', path: f, syscall: 'lstat' }) t.end() }) }) t.test('absolute path', t => { const f = path.resolve(files, '512-bytes.txt') t.test('preservePaths=false strict=false', t => { const warnings = [] const ws = new WriteEntry(f, { cwd: files, onwarn: (m, p) => warnings.push([m, p]) }) let out = [] ws.on('data', c => out.push(c)) ws.on('end', _ => { out = Buffer.concat(out) t.equal(out.length, 1024) t.match(warnings, [[ /stripping .* from absolute path/, f ]]) t.match(ws.header, { cksumValid: true, needPax: false, path: f.replace(/^(\/|[a-z]:\\\\)/, ''), mode: 0o644, size: 512, linkpath: null, uname: 'isaacs', gname: null, devmaj: 0, devmin: 0 }) t.end() }) }) t.test('preservePaths=true', t => { t.plan(2) // with preservePaths, strictness doens't matter ;[true, false].forEach(strict => { t.test('strict=' + strict, t => { const warnings = [] const ws = new WriteEntry(f, { cwd: files, strict: strict, preservePaths: true, onwarn: (m, p) => warnings.push([m, p]) }) let out = [] ws.on('data', c => out.push(c)) ws.on('end', _ => { out = Buffer.concat(out) t.equal(warnings.length, 0) t.match(ws.header, { cksumValid: true, needPax: false, path: f, mode: 0o644, size: 512, linkpath: null, uname: 'isaacs', gname: null, devmaj: 0, devmin: 0 }) t.end() }) }) }) }) t.test('preservePaths=false strict=true', t => { t.throws(_ => { new WriteEntry(f, { strict: true, cwd: files }) }, { message: /stripping .* from absolute path/, data: f }) t.end() }) t.end() }) t.throws(_ => new WriteEntry(null), new TypeError('path is required')) t.test('no user environ, sets uname to empty string', t => { delete process.env.USER const ws = new WriteEntry('512-bytes.txt', { cwd: files }) let out = [] ws.on('data', c => out.push(c)) ws.on('end', _ => { out = Buffer.concat(out) t.equal(out.length, 1024) t.match(ws.header, { cksumValid: true, needPax: false, path: '512-bytes.txt', mode: 0o644, size: 512, uname: '', linkpath: null, uname: '', gname: null, devmaj: 0, devmin: 0 }) t.end() }) }) t.test('an unsuppored type', { skip: isWindows && '/dev/random on windows' }, t => { const ws = new WriteEntry('/dev/random', { preservePaths: true }) ws.on('data', c => { throw new Error('should not get data from random') }) ws.on('stat', stat => { t.match(stat, { dev: Number, mode: 0o020666, nlink: 1, rdev: Number, blksize: Number, ino: Number, size: 0, blocks: 0 }) t.ok(stat.isCharacterDevice(), 'random is a character device') }) ws.on('end', _ => { t.match(ws, { type: 'Unsupported', path: '/dev/random' }) t.end() }) }) t.test('readlink fail', t => { const expect = { message: 'EINVAL: invalid argument, readlink \'' + __filename + '\'', code: 'EINVAL', syscall: 'readlink', path: __filename } // pretend everything is a symbolic link, then read something that isn't t.tearDown(mutateFS.statType('SymbolicLink')) t.throws(_ => new WriteEntry.Sync('write-entry.js', { cwd: __dirname }), expect) new WriteEntry('write-entry.js', { cwd: __dirname }).on('error', er => { t.match(er, expect) t.end() }) }) t.test('open fail', t => { t.tearDown(mutateFS.fail('open', new Error('pwn'))) t.throws(_ => new WriteEntry.Sync('write-entry.js', { cwd: __dirname }), { message: 'pwn' }) new WriteEntry('write-entry.js', { cwd: __dirname }).on('error', er => { t.match(er, { message: 'pwn' }) t.end() }) }) t.test('read fail', t => { const expect = { message: 'EISDIR: illegal operation on a directory, read', code: 'EISDIR', syscall: 'read' } // pretend everything is a symbolic link, then read something that isn't t.tearDown(mutateFS.statType('File')) t.throws(_ => new WriteEntry.Sync('fixtures', { cwd: __dirname }), expect) new WriteEntry('fixtures', { cwd: __dirname }).on('error', er => { t.match(er, expect) t.end() }) }) t.test('read invalid EOF', t => { t.tearDown(mutateFS.mutate('read', (er, br) => [er, 0])) const expect = { message: 'unexpected EOF', path: __filename, syscall: 'read', code: 'EOF' } t.throws(_ => new WriteEntry.Sync('write-entry.js', { cwd: __dirname }), expect) new WriteEntry('write-entry.js', { cwd: __dirname }).on('error', er => { t.match(er, expect) t.end() }) }) t.test('short reads', t => { t.tearDown(mutateFS.zenoRead()) const cases = { '1024-bytes.txt': new Array(1024).join('x') + '\n', '100-byte-filename-cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc': new Array(101).join('c') } const maxReadSize = [ null, 1024, 100, 111 ] Object.keys(cases).forEach(filename => { t.test(filename.split('byte').shift() + 'byte', t => { const contents = cases[filename] maxReadSize.forEach(mRS => { t.test('maxReadSize=' + mRS, t => { let out = [] const ws = new WriteEntry(filename, { maxReadSize: mRS, cwd: files }) ws.on('data', c => out.push(c)) ws.on('end', _ => { out = Buffer.concat(out) t.equal(out.length, 512 * Math.ceil(1 + contents.length / 512)) t.equal(out.slice(512).toString().replace(/\0.*$/, ''), contents) const wss = new WriteEntry.Sync(filename, { cwd: files }) const syncOut = wss.read() t.equal(syncOut.length, out.length) t.equal(syncOut.slice(512).toString(), out.slice(512).toString()) t.end() }) }) }) t.end() }) }) t.end() }) t.test('win32 path conversion', { skip: isWindows && 'no need to test on windows' }, t => { const ws = new WriteEntry('long-path\\r', { cwd: files, win32: true }) t.equal(ws.path, 'long-path/r') t.end() }) t.test('win32 <|>? in paths', { skip: isWindows && 'do not create annoying junk on windows systems' }, t => { const file = path.resolve(fixtures, '<|>?.txt') const uglyName = Buffer.from('ef80bcef81bcef80beef80bf2e747874', 'hex').toString() const ugly = path.resolve(fixtures, uglyName) t.teardown(_ => { rimraf.sync(file) rimraf.sync(ugly) }) fs.writeFileSync(ugly, '<|>?') const wc = new WriteEntry(uglyName, { cwd: fixtures, win32: true }) const out = [] wc.on('data', c => out.push(c)) wc.on('end', _ => { const data = Buffer.concat(out).toString() t.equal(data.substr(0, 4), '<|>?') t.end() }) t.equal(wc.path, '<|>?.txt') t.equal(wc.absolute, ugly) }) t.test('uid doesnt match, dont set uname', t => { t.tearDown(mutateFS.statMutate((er, st) => { if (st) st.uid -= 1 })) const ws = new WriteEntry('long-path/r', { cwd: files }) t.notOk(ws.uname) t.end() }) t.test('override absolute to some other file', t => { const ws = new WriteEntry('blerg', { absolute: files + '/one-byte.txt' }) const out = [] ws.on('data', c => out.push(c)) ws.on('end', _ => { const data = Buffer.concat(out) t.equal(data.length, 1024) t.match(data.slice(512).toString(), /^a\0{511}$/) t.match(ws, { path: 'blerg', header: { size: 1 } }) const wss = new WriteEntry.Sync('blerg', { absolute: files + '/one-byte.txt' }) const sdata = wss.read() t.equal(sdata.length, 1024) t.match(sdata.slice(512).toString(), /^a\0{511}$/) t.match(wss, { path: 'blerg', header: { size: 1 } }) t.end() }) }) t.test('portable entries, nothing platform-specific', t => { const om = 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt' const ws = new WriteEntry(om, { cwd: files, portable: true }) const pexpect = { atime: null, charset: null, comment: null, ctime: null, gid: null, gname: null, linkpath: null, path: 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt', size: 2, uid: null, uname: null, dev: null, ino: null, nlink: null } const hexpect = { size: 2, ctime: null, atime: null, uid: null, uname: '', gid: null, gname: '' } const ps = new Parser() const wss = new WriteEntry.Sync(om, { cwd: files, portable: true }) ps.on('entry', entry => { t.match(entry.extended, pexpect) t.match(entry.header, hexpect) }) ps.end(wss.read()) const p = new Parser() ws.pipe(p) p.on('entry', entry => { t.match(entry.extended, pexpect) t.match(entry.header, hexpect) t.end() }) }) t.test('no mtime', t => { const om = 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt' const ws = new WriteEntry(om, { cwd: files, noMtime: true, portable: true }) const pexpect = { atime: null, mtime: null, charset: null, comment: null, ctime: null, gid: null, gname: null, linkpath: null, path: 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt', size: 2, uid: null, uname: null, dev: null, ino: null, nlink: null } const hexpect = { size: 2, ctime: null, atime: null, mtime: null, uid: null, uname: '', gid: null, gname: '' } const ps = new Parser() const wss = new WriteEntry.Sync(om, { cwd: files, portable: true, noMtime: true }) ps.on('entry', entry => { t.match(entry.extended, pexpect) t.match(entry.header, hexpect) }) ps.end(wss.read()) const p = new Parser() ws.pipe(p) p.on('entry', entry => { t.match(entry.extended, pexpect) t.match(entry.header, hexpect) t.end() }) }) t.test('force mtime', t => { const om = 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt' const date = new Date('1979-07-01T19:10:00.000Z') const ws = new WriteEntry(om, { cwd: files, mtime: date, portable: true }) const pexpect = { atime: null, mtime: new Date('1979-07-01T19:10:00.000Z'), charset: null, comment: null, ctime: null, gid: null, gname: null, linkpath: null, path: 'long-path/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/Ω.txt', size: 2, uid: null, uname: null, dev: null, ino: null, nlink: null } const hexpect = { size: 2, ctime: null, atime: null, mtime: new Date('1979-07-01T19:10:00.000Z'), uid: null, uname: '', gid: null, gname: '' } const ps = new Parser() const wss = new WriteEntry.Sync(om, { cwd: files, portable: true, mtime: new Date('1979-07-01T19:10:00.000Z'), }) ps.on('entry', entry => { t.match(entry.extended, pexpect) t.match(entry.header, hexpect) }) ps.end(wss.read()) const p = new Parser() ws.pipe(p) p.on('entry', entry => { t.match(entry.extended, pexpect) t.match(entry.header, hexpect) t.end() }) }) t.test('portable dir entries, no mtime', t => { const dir = 'long-path/' const ws = new WriteEntry(dir, { cwd: files, portable: true }) const hexpect = { path: 'long-path/', ctime: null, atime: null, uid: null, uname: '', gid: null, gname: '', mtime: null } const ps = new Parser() const wss = new WriteEntry.Sync(dir, { cwd: files, portable: true }) ps.on('entry', entry => { t.match(entry.header, hexpect) }) ps.end(wss.read()) const p = new Parser() ws.pipe(p) p.on('entry', entry => { t.match(entry.header, hexpect) t.end() }) }) t.test('write entry from read entry', t => { const data = makeTar([ { path: '$', type: 'File', size: 10, mode: 0o755, uid: 123, gid: 321, ctime: new Date('1979-07-01'), atime: new Date('1980-08-17') }, '$$$$$$$$$$', { path: 'blep', type: 'SymbolicLink', linkpath: 'xyz' }, '', '' ]) t.test('basic file', t => { const fileEntry = new ReadEntry(new Header(data)) const wetFile = new WriteEntry.Tar(fileEntry) const out = [] let wetFileEnded = false wetFile.on('data', c => out.push(c)) wetFile.on('end', _ => wetFileEnded = true) fileEntry.write(data.slice(512, 550)) fileEntry.write(data.slice(550, 1000)) fileEntry.end(data.slice(1000, 1024)) t.equal(wetFileEnded, true) const result = Buffer.concat(out) t.equal(result.length, 1024) t.equal(result.toString().replace(/\0.*$/, ''), '$') const body = result.slice(512).toString().replace(/\0*$/, '') t.equal(body, '$$$$$$$$$$') t.end() }) t.test('basic file', t => { const data = makeTar([ { path: '$', type: 'Directory', size: 0, mode: 0o755, uid: 123, gid: 321, ctime: new Date('1979-07-01'), atime: new Date('1980-08-17'), mtime: new Date('1997-06-21') }, '', '' ]) const fileEntry = new ReadEntry(new Header(data)) const wetFile = new WriteEntry.Tar(fileEntry, { portable: true }) const out = [] let wetFileEnded = false wetFile.on('data', c => out.push(c)) wetFile.on('end', _ => wetFileEnded = true) fileEntry.end() t.equal(wetFileEnded, true) const result = Buffer.concat(out) t.match(new Header(result), { mtime: null }) t.end() }) t.test('with pax header', t => { const fileEntryPax = new ReadEntry(new Header(data)) fileEntryPax.path = new Array(200).join('$') const wetPax = new WriteEntry.Tar(fileEntryPax) let wetPaxEnded = false const out = [] wetPax.on('data', c => out.push(c)) wetPax.on('end', _ => wetPaxEnded = true) fileEntryPax.write(data.slice(512, 550)) fileEntryPax.write(data.slice(550, 1000)) fileEntryPax.end(data.slice(1000, 1024)) t.equal(wetPaxEnded, true) const result = Buffer.concat(out) t.equal(result.length, 2048) t.match(result.slice(1024, 1124).toString(), /^\$+\0?$/) const body = result.slice(1536).toString().replace(/\0*$/, '') t.match(new Header(result), { type: 'ExtendedHeader' }) t.equal(body, '$$$$$$$$$$') t.end() }) t.test('pax and portable', t => { const fileEntryPax = new ReadEntry(new Header(data)) fileEntryPax.path = new Array(200).join('$') const wetPax = new WriteEntry.Tar(fileEntryPax, { portable: true }) let wetPaxEnded = false const out = [] wetPax.on('data', c => out.push(c)) wetPax.on('end', _ => wetPaxEnded = true) fileEntryPax.write(data.slice(512, 550)) fileEntryPax.write(data.slice(550, 1000)) fileEntryPax.end(data.slice(1000, 1024)) t.equal(wetPaxEnded, true) const result = Buffer.concat(out) t.equal(result.length, 2048) t.match(result.slice(1024, 1124).toString(), /^\$+\0?$/) t.match(new Header(result), { type: 'ExtendedHeader' }) t.match(new Header(result.slice(1024)), { ctime: null, atime: null, uname: '', gname: '' }) const body = result.slice(1536).toString().replace(/\0*$/, '') t.equal(body, '$$$$$$$$$$') t.end() }) t.test('pax, portable, and noMtime', t => { const fileEntryPax = new ReadEntry(new Header(data)) fileEntryPax.path = new Array(200).join('$') const wetPax = new WriteEntry.Tar(fileEntryPax, { noMtime: true, portable: true }) let wetPaxEnded = false const out = [] wetPax.on('data', c => out.push(c)) wetPax.on('end', _ => wetPaxEnded = true) fileEntryPax.write(data.slice(512, 550)) fileEntryPax.write(data.slice(550, 1000)) fileEntryPax.end(data.slice(1000, 1024)) t.equal(wetPaxEnded, true) const result = Buffer.concat(out) t.equal(result.length, 2048) t.match(result.slice(1024, 1124).toString(), /^\$+\0?$/) t.match(new Header(result), { type: 'ExtendedHeader' }) t.match(new Header(result.slice(1024)), { mtime: null, ctime: null, atime: null, uname: '', gname: '' }) const body = result.slice(1536).toString().replace(/\0*$/, '') t.equal(body, '$$$$$$$$$$') t.end() }) t.test('abs path', t => { const fileEntry = new ReadEntry(new Header(data)) fileEntry.path = '/a/b/c' t.test('warn', t => { const warnings = [] const wetFile = new WriteEntry.Tar(fileEntry, { onwarn: (msg, data) => warnings.push(msg, data) }) t.same(warnings, ['stripping / from absolute path', '/a/b/c']) t.end() }) t.test('preserve', t => { const warnings = [] const wetFile = new WriteEntry.Tar(fileEntry, { onwarn: (msg, data) => warnings.push(msg, data), preservePaths: true }) t.same(warnings, []) t.end() }) t.test('throw', t => { t.throws(_ => new WriteEntry.Tar(fileEntry, { strict: true })) t.end() }) t.end() }) t.test('no block remain', t => { const readEntry = new ReadEntry(new Header({ size: 512, type: 'File', path: 'x' })) const wet = new WriteEntry.Tar(readEntry) const out = [] wet.on('data', c => out.push(c)) let wetEnded = false wet.on('end', _ => wetEnded = true) t.equal(wetEnded, false) readEntry.end(Buffer.from(new Array(513).join('@'))) t.equal(wetEnded, true) const res = Buffer.concat(out) t.equal(res.length, 1024) t.match(res.slice(512).toString(), /^@+$/) t.end() }) t.test('write more than appropriate', t => { const readEntry = new ReadEntry(new Header({ path: 'x', type: 'File', size: '1' })) const wet = new WriteEntry.Tar(readEntry) t.throws(_ => wet.write(Buffer.from(new Array(1024).join('x')))) t.end() }) t.end() })