realpath so macOS /var → /private/var symlinking doesn't break equality.
(p: string)
| 31 | |
| 32 | /** realpath so macOS /var → /private/var symlinking doesn't break equality. */ |
| 33 | function real(p: string): string { |
| 34 | return fs.realpathSync(path.resolve(p)); |
| 35 | } |
| 36 | |
| 37 | describe('detectWorktreeIndexMismatch (issue #155)', () => { |
| 38 | let mainRepo: string; // main checkout — owns the .codegraph index |
no test coverage detected