X7ROOT File Manager
Current Path:
/lib/node_modules/npm/node_modules/tar/lib
lib
/
node_modules
/
npm
/
node_modules
/
tar
/
lib
/
📁
..
📄
buffer.js
(283 B)
📄
create.js
(2.32 KB)
📄
extract.js
(2.76 KB)
📄
header.js
(8.83 KB)
📄
high-level-opt.js
(772 B)
📄
large-numbers.js
(2.16 KB)
📄
list.js
(3.08 KB)
📄
mkdir.js
(5.06 KB)
📄
mode-fix.js
(277 B)
📄
pack.js
(9.39 KB)
📄
parse.js
(11.86 KB)
📄
pax.js
(3.97 KB)
📄
read-entry.js
(2.61 KB)
📄
replace.js
(5.36 KB)
📄
types.js
(1.07 KB)
📄
unpack.js
(16.46 KB)
📄
update.js
(852 B)
📄
warn-mixin.js
(309 B)
📄
winchars.js
(533 B)
📄
write-entry.js
(11.77 KB)
Editing: types.js
'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]]))
Upload File
Create Folder