ACIL FM
Dark
Refresh
Current DIR:
/lib/node_modules/npm/node_modules/@npmcli/fs/lib
/
lib
node_modules
npm
node_modules
@npmcli
fs
lib
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
common
-
chmod
Open
Rename
Delete
cp
-
chmod
Open
Rename
Delete
rm
-
chmod
Open
Rename
Delete
copy-file.js
494 B
chmod
View
DL
Edit
Rename
Delete
errors.js
3.32 MB
chmod
View
DL
Edit
Rename
Delete
fs.js
660 B
chmod
View
DL
Edit
Rename
Delete
index.js
395 B
chmod
View
DL
Edit
Rename
Delete
mkdir.js
435 B
chmod
View
DL
Edit
Rename
Delete
mkdtemp.js
777 B
chmod
View
DL
Edit
Rename
Delete
with-owner-sync.js
463 B
chmod
View
DL
Edit
Rename
Delete
with-owner.js
495 B
chmod
View
DL
Edit
Rename
Delete
with-temp-dir.js
1021 B
chmod
View
DL
Edit
Rename
Delete
write-file.js
395 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /lib/node_modules/npm/node_modules/@npmcli/fs/lib/copy-file.js
const fs = require('./fs.js') const getOptions = require('./common/get-options.js') const withOwner = require('./with-owner.js') const copyFile = async (src, dest, opts) => { const options = getOptions(opts, { copy: ['mode'], wrap: 'mode', }) // the node core method as of 16.5.0 does not support the mode being in an // object, so we have to pass the mode value directly return withOwner(dest, () => fs.copyFile(src, dest, options.mode), opts) } module.exports = copyFile
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply