| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > IImportResolveOptions > getRealPath
A function used to resolve the realpath of a provided file path.
Signature:
getRealPath?: (filePath: string) => string;This is used to resolve symlinks and other non-standard file paths. By default, this uses the FileSystem.getRealPath() function. However, it can be overridden to use a custom implementation which may be faster, more accurate, or provide support for additional non-standard file paths.