📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-06-28 08:36:43
📂
/ (Root)
/
opt
/
alt
/
alt-nodejs19
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
@npmcli
/
git
/
lib
📍 /opt/alt/alt-nodejs19/root/usr/lib/node_modules/npm/node_modules.bundled/@npmcli/git/lib
🔄 Refresh
✏️
Editing: find.js
Read Only
const is = require('./is.js') const { dirname } = require('path') module.exports = async ({ cwd = process.cwd() } = {}) => { if (await is({ cwd })) { return cwd } while (cwd !== dirname(cwd)) { cwd = dirname(cwd) if (await is({ cwd })) { return cwd } } return null }
💾 Save Changes
❌ Cancel