ACIL FM
Dark
Refresh
Current DIR:
/home/benbot/bot/server/node_modules/path-exists
/
home
benbot
bot
server
node_modules
path-exists
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
index.d.ts
429 B
chmod
View
DL
Edit
Rename
Delete
index.js
347 B
chmod
View
DL
Edit
Rename
Delete
license
1.08 MB
chmod
View
DL
Edit
Rename
Delete
package.json
607 B
chmod
View
DL
Edit
Rename
Delete
readme.md
1.39 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/benbot/bot/server/node_modules/path-exists/index.js
'use strict'; const fs = require('fs'); const {promisify} = require('util'); const pAccess = promisify(fs.access); module.exports = async path => { try { await pAccess(path); return true; } catch (_) { return false; } }; module.exports.sync = path => { try { fs.accessSync(path); return true; } catch (_) { return false; } };
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply