Current Path: > > usr > lib > node_modules > npm > > node_modules > tar > lib >
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.8 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
buffer.js | File | 283 bytes | March 10 2021 14:36:37. | |
create.js | File | 2374 bytes | March 10 2021 14:36:37. | |
extract.js | File | 2824 bytes | March 10 2021 14:36:37. | |
header.js | File | 9044 bytes | March 10 2021 14:36:37. | |
high-level-opt.js | File | 772 bytes | March 10 2021 14:36:37. | |
large-numbers.js | File | 2210 bytes | March 10 2021 14:36:37. | |
list.js | File | 3152 bytes | March 10 2021 14:36:37. | |
mkdir.js | File | 5178 bytes | March 10 2021 14:36:37. | |
mode-fix.js | File | 277 bytes | March 10 2021 14:36:37. | |
pack.js | File | 9614 bytes | March 10 2021 14:36:37. | |
parse.js | File | 12140 bytes | March 10 2021 14:36:37. | |
pax.js | File | 4070 bytes | March 10 2021 14:36:37. | |
read-entry.js | File | 2673 bytes | March 10 2021 14:36:37. | |
replace.js | File | 5492 bytes | March 10 2021 14:36:37. | |
types.js | File | 1095 bytes | March 10 2021 14:36:37. | |
unpack.js | File | 16856 bytes | March 10 2021 14:36:37. | |
update.js | File | 852 bytes | March 10 2021 14:36:37. | |
warn-mixin.js | File | 309 bytes | March 10 2021 14:36:37. | |
winchars.js | File | 533 bytes | March 10 2021 14:36:37. | |
write-entry.js | File | 12053 bytes | March 10 2021 14:36:37. |
'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) }
SILENT KILLER Tool