读取本地文件
dsh-review/index.js:200
if (!existsSync(abs)) continue读取本地文件
dsh-review/index.js:226
if (existsSync(abs)) {读取本地文件
dsh-review/index.js:277
const existed = existsSync(abs)读取本地文件
dsh-review/pending.js:15
if (!existsSync(pendingPath)) return []读取本地文件
dsh-review/pending.js:17
const raw = JSON.parse(readFileSync(pendingPath, 'utf8'))写入本地文件
dsh-review/pending.js:32
mkdirSync(dirname(pendingPath), { recursive: true })写入本地文件
dsh-review/pending.js:35
writeFileSync(tmp, body, 'utf8')写入本地文件
dsh-review/pending.js:36
renameSync(tmp, pendingPath)读取本地文件
dsh-review/shadow.js:84
if (!existsSync(join(gitDir, 'HEAD'))) {写入本地文件
dsh-review/shadow.js:85
mkdirSync(gitDir, { recursive: true })读取本地文件
dsh-review/shadow.js:131
if (existsSync(abs)) {删除本地文件
dsh-review/shadow.js:148
try { unlinkSync(indexFile) } catch { }删除本地文件
dsh-review/shadow.js:149
try { unlinkSync(indexFile + '.lock') } catch { }写入本地文件
dsh-review/workbench.js:58
mkdirSync(root, { recursive: true })写入本地文件
dsh-review/workbench.js:59
mkdirSync(pendingDir(), { recursive: true })读取剪贴板
dsh-review-vscode/extension.js:168
const prev = await vscode.env.clipboard.readText()写入剪贴板
dsh-review-vscode/extension.js:171
await vscode.env.clipboard.writeText(marker)读取剪贴板
dsh-review-vscode/extension.js:173
const text = await vscode.env.clipboard.readText()写入剪贴板
dsh-review-vscode/extension.js:179
try { await vscode.env.clipboard.writeText(prev) } catch { }读取本地文件
dsh-review-vscode/lib/dsh-auth-proxy.js:55
text = fs.readFileSync(file, 'utf8')发起网络请求
dsh-review-vscode/lib/dsh-auth-proxy.js:110
const up = http.request({执行外部命令来自配置/变量
dsh-review-vscode/lib/dsh-browser.js:141
const child = execFile(cmd, args, {写入剪贴板
dsh-review-vscode/lib/dsh-browser.js:765
void vscode.env.clipboard.writeText(msg.text)读取剪贴板
dsh-review-vscode/lib/dsh-browser.js:767
vscode.env.clipboard.readText().then((text) => {读取本地文件
dsh-review-vscode/lib/dsh-process.js:48
try { return fs.existsSync(file) } catch { return false }发起网络请求
dsh-review-vscode/lib/dsh-process.js:162
const req = http.get('http://127.0.0.1:' + String(port) + '/__bili/health', { timeout: 1000 }, (res) => {执行外部命令固定命令
dsh-review-vscode/lib/dsh-process.js:229
execFile('lsof', ['-ti', 'tcp:' + port], { timeout: 5000 }, (err, stdout) => {执行外部命令固定命令
dsh-review-vscode/lib/dsh-process.js:244
execFile('powershell.exe', ['-NoProfile', '-NonInteractive', '-Command', ps], {执行外部命令固定命令
dsh-review-vscode/lib/dsh-process.js:254
execFile('netstat', ['-ano'], { timeout: 8000, windowsHide: true }, (e2, out2) => {执行外部命令固定命令
dsh-review-vscode/lib/dsh-process.js:276
execFile('taskkill', ['/F', '/PID', String(pid)], { timeout: 5000, windowsHide: true }, () => resolve())执行外部命令固定命令
dsh-review-vscode/lib/dsh-process.js:278
execFile('kill', ['-9', String(pid)], { timeout: 5000 }, () => resolve())发起网络请求
dsh-review-vscode/lib/dsh-process.js:311
const req = http.get(url, { timeout: 800 }, (res) => {读取本地文件
dsh-review-vscode/lib/dsh-process.js:388
try { text = fs.readFileSync(cmdPath, 'utf8') } catch { return null }写入本地文件
dsh-review-vscode/lib/dsh-process.js:455
fs.writeFileSync(batPath, lines.join('\r\n') + '\r\n', 'utf8')写入本地文件
dsh-review-vscode/lib/dsh-process.js:458
fs.writeFileSync(vbsPath, vbs, 'utf8')执行外部命令固定命令
dsh-review-vscode/lib/dsh-process.js:459
const child = spawn('wscript.exe', ['//nologo', '//B', vbsPath], {写入本地文件
dsh-review-vscode/lib/dsh-process.js:476
fs.mkdirSync(path.dirname(logPath), { recursive: true })写入本地文件
dsh-review-vscode/lib/dsh-process.js:518
fs.mkdirSync(path.dirname(logPath), { recursive: true })读取本地文件
dsh-review-vscode/lib/dsh-process.js:554
try { logMark = fs.statSync(path.join(os.homedir(), '.dsh', 'review', 'dsh-restart.log')).size } catch { logMark = 0 }读取本地文件
dsh-review-vscode/lib/dsh-process.js:642
try { logMark = fs.statSync(path.join(os.homedir(), '.dsh', 'review', 'dsh-restart.log')).size } catch { logMark = 0 }读取本地文件
dsh-review-vscode/lib/element-context-watcher.js:61
if (fs.existsSync(TMP_FILE)) {删除本地文件
dsh-review-vscode/lib/element-context-watcher.js:62
fs.unlinkSync(TMP_FILE)读取本地文件
dsh-review-vscode/lib/element-context-watcher.js:135
try { raw = fs.readFileSync(file, 'utf8') } catch { return }读取本地文件
dsh-review-vscode/lib/element-context-watcher.js:175
try { files = fs.readdirSync(sessDir).filter((f) => f.endsWith('.jsonl')) } catch { return }删除本地文件
dsh-review-vscode/lib/element-context-watcher.js:245
try { fs.unlinkSync(TMP_FILE) } catch { }读取本地文件
dsh-review-vscode/lib/element-context-watcher.js:304
try { size = fs.statSync(p).size } catch { }读取本地文件
dsh-review-vscode/lib/element-context-watcher.js:308
const t = fs.readFileSync(p, 'utf8')删除本地文件
dsh-review-vscode/lib/element-context-watcher.js:374
try { fs.unlinkSync(TMP_FILE) } catch { }读取本地文件
dsh-review-vscode/lib/enable-insets.js:80
if (fs.existsSync(file)) {读取本地文件
dsh-review-vscode/lib/enable-insets.js:81
raw = fs.readFileSync(file, 'utf8').replace(/^ FEFF/, '')写入本地文件
dsh-review-vscode/lib/enable-insets.js:83
fs.mkdirSync(path.dirname(file), { recursive: true })写入本地文件
dsh-review-vscode/lib/enable-insets.js:87
fs.writeFileSync(file, merged.text, 'utf8')读取本地文件
dsh-review-vscode/lib/pending-sync.js:158
if (!fs.existsSync(filePath)) {读取本地文件
dsh-review-vscode/lib/pending-sync.js:160
if (wbRoot && fs.existsSync(wbRoot)) {写入本地文件
dsh-review-vscode/lib/pending-sync.js:264
fs.mkdirSync(pendDir, { recursive: true })读取本地文件
dsh-review-vscode/lib/session.js:292
if (!fs.existsSync(uri.fsPath)) {执行外部命令固定命令
dsh-review-vscode/lib/shadow-git.js:32
execFile('git', ['--git-dir', gitDir, ...args], {执行外部命令固定命令
dsh-review-vscode/lib/shadow-git.js:55
const child = spawn('git', ['--git-dir', gitDir, ...args], {读取本地文件
dsh-review-vscode/lib/shadow-git.js:130
if (!fs.existsSync(path.join(gitDir, 'HEAD'))) {删除本地文件
dsh-review-vscode/lib/shadow-git.js:155
try { fs.unlinkSync(indexFile) } catch { }删除本地文件
dsh-review-vscode/lib/shadow-git.js:156
try { fs.unlinkSync(indexFile + '.lock') } catch { }执行外部命令固定命令
dsh-review-vscode/lib/shadow-git.js:168
execFile('git', ['--git-dir', gitDir, ...args], {读取本地文件
dsh-review-vscode/lib/shadow-git.js:203
return fs.readFileSync(absFile, 'utf8')读取本地文件
dsh-review-vscode/lib/shadow-pending.js:22
if (!fs.existsSync(p)) return []读取本地文件
dsh-review-vscode/lib/shadow-pending.js:24
const raw = JSON.parse(fs.readFileSync(p, 'utf8'))写入本地文件
dsh-review-vscode/lib/shadow-pending.js:67
fs.mkdirSync(path.dirname(p), { recursive: true })写入本地文件
dsh-review-vscode/lib/shadow-pending.js:69
fs.writeFileSync(tmp, JSON.stringify(entries, null, 2) + '\n', 'utf8')写入本地文件
dsh-review-vscode/lib/shadow-pending.js:70
fs.renameSync(tmp, p)写入本地文件
dsh-review-vscode/lib/workbench.js:59
fs.mkdirSync(root, { recursive: true })写入本地文件
dsh-review-vscode/lib/workbench.js:60
fs.mkdirSync(pendingDir(), { recursive: true })