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