Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 993 Bytes

File metadata and controls

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

Home > @rushstack/node-core-library > IImportResolveAsyncOptions > getRealPathAsync

IImportResolveAsyncOptions.getRealPathAsync property

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

Signature:

getRealPathAsync?: (filePath: string) => Promise<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.