Home > @wixc3/fs-utils > pathToTrueCase
Returns case-exact absolute form of the path, similar to fs.realpathSync.native() Trailing segments of the path that don’t exist are left unchanged.
Signature:
export declare function pathToTrueCase(fs: IFileSystem, path: string): string;
Parameter | Type | Description |
---|---|---|
fs | IFileSystem | |
path | string |
Returns:
string