PATH: //proc/self/root/proc/thread-self/root/usr/lib/node_modules/npm/node_modules/tar/lib
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 create.js
↓
X
📄 extract.js
↓
X
📄 get-write-flag.js
↓
X
📄 header.js
↓
X
📄 high-level-opt.js
↓
X
📄 large-numbers.js
↓
X
📄 list.js
↓
X
📄 mkdir.js
↓
X
📄 mode-fix.js
↓
X
📄 normalize-unicode.js
↓
X
📄 normalize-windows-path.js
↓
X
📄 pack.js
↓
X
📄 parse.js
↓
X
📄 path-reservations.js
↓
X
📄 pax.js
↓
X
📄 read-entry.js
↓
X
📄 replace.js
↓
X
📄 strip-absolute-path.js
↓
X
📄 strip-trailing-slashes.js
↓
X
📄 types.js
↓
X
📄 unpack.js
↓
X
📄 update.js
↓
X
📄 warn-mixin.js
↓
X
📄 winchars.js
↓
X
📄 write-entry.js
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: 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) }
SIMPAN PERUBAHAN