$52 GRAYBYTE WORDPRESS FILE MANAGER $64

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules.bundled/tar/lib/

HOME
Current File : /opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules.bundled/tar/lib//update.js
'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

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)
}

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
1 Jan 1970 8.00 AM
root / root
0
create.js
2.296 KB
3 Nov 2023 9.14 PM
root / root
0644
extract.js
2.738 KB
3 Nov 2023 9.14 PM
root / root
0644
get-write-flag.js
0.899 KB
3 Nov 2023 9.14 PM
root / root
0644
header.js
8.769 KB
3 Nov 2023 9.14 PM
root / root
0644
high-level-opt.js
0.742 KB
3 Nov 2023 9.14 PM
root / root
0644
large-numbers.js
2.128 KB
3 Nov 2023 9.14 PM
root / root
0644
list.js
3.092 KB
3 Nov 2023 9.14 PM
root / root
0644
mkdir.js
5.212 KB
3 Nov 2023 9.14 PM
root / root
0644
mode-fix.js
0.604 KB
3 Nov 2023 9.14 PM
root / root
0644
normalize-unicode.js
0.396 KB
3 Nov 2023 9.14 PM
root / root
0644
normalize-windows-path.js
0.4 KB
3 Nov 2023 9.14 PM
root / root
0644
pack.js
9.222 KB
3 Nov 2023 9.14 PM
root / root
0644
parse.js
13.856 KB
3 Nov 2023 9.14 PM
root / root
0644
path-reservations.js
4.205 KB
3 Nov 2023 9.14 PM
root / root
0644
pax.js
3.923 KB
3 Nov 2023 9.14 PM
root / root
0644
read-entry.js
2.715 KB
3 Nov 2023 9.14 PM
root / root
0644
replace.js
5.349 KB
3 Nov 2023 9.14 PM
root / root
0644
strip-absolute-path.js
0.896 KB
3 Nov 2023 9.14 PM
root / root
0644
strip-trailing-slashes.js
0.385 KB
3 Nov 2023 9.14 PM
root / root
0644
types.js
1.07 KB
3 Nov 2023 9.14 PM
root / root
0644
unpack.js
24.46 KB
3 Nov 2023 9.14 PM
root / root
0644
update.js
0.822 KB
3 Nov 2023 9.14 PM
root / root
0644
warn-mixin.js
0.681 KB
3 Nov 2023 9.14 PM
root / root
0644
winchars.js
0.522 KB
3 Nov 2023 9.14 PM
root / root
0644
write-entry.js
14.757 KB
3 Nov 2023 9.14 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF