* The folder a path really names: links (symlinks, junctions, a `subst` drive) * followed, and the case and long names stored on disk. Null when it can't be * resolved, most often because it doesn't exist; the lexical check still runs.
(p: string)
| 275 | * resolved, most often because it doesn't exist; the lexical check still runs. |
| 276 | */ |
| 277 | function nativeRealPath(p: string): string | null { |
| 278 | try { |
| 279 | return fs.realpathSync.native(p); |
| 280 | } catch { |
| 281 | return null; |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | /** |
| 286 | * The system set's own real paths, folded. macOS keeps `/etc`, `/tmp` and |
no outgoing calls
no test coverage detected