(pid: number)
| 80 | } |
| 81 | |
| 82 | function writeLegacyLock(pid: number): string { |
| 83 | const lockPath = getDaemonPidPath(root); |
| 84 | fs.writeFileSync(lockPath, `${pid}\n`); |
| 85 | return lockPath; |
| 86 | } |
| 87 | |
| 88 | /** A current-format lock whose socket no daemon listens on. */ |
| 89 | function writeLock(pid: number): string { |
no test coverage detected