Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 944 Bytes

File metadata and controls

24 lines (16 loc) · 944 Bytes
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @rushstack/node-core-library > IImportResolveOptions > getRealPath

IImportResolveOptions.getRealPath property

A function used to resolve the realpath of a provided file path.

Signature:

getRealPath?: (filePath: string) => string;

Remarks

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.