(p: string)
| 298 | * unlinked). |
| 299 | */ |
| 300 | export function statInode(p: string): string | null { |
| 301 | if (process.platform === 'win32') return null; |
| 302 | try { |
| 303 | const s = fs.statSync(p, { bigint: true }); |
| 304 | return `${s.dev}:${s.ino}`; |
| 305 | } catch { |
| 306 | return null; |
| 307 | } |
| 308 | } |
| 309 | |
| 310 | /** |
| 311 | * Canonicalize a project root for IDENTITY: hashing it into a rendezvous key |
no outgoing calls
no test coverage detected